xenstore: use AsRef<str> for path and restructure

This commit is contained in:
Alex Zenla
2024-03-08 13:08:59 +00:00
parent 7507f17d99
commit b0bd931f0e
9 changed files with 321 additions and 310 deletions

View File

@ -4,7 +4,7 @@ use crate::childwait::{ChildEvent, ChildWait};
use anyhow::Result;
use nix::{libc::c_int, unistd::Pid};
use tokio::{select, time::sleep};
use xenstore::client::{XsdClient, XsdInterface};
use xenstore::{XsdClient, XsdInterface};
pub struct ContainerBackground {
child: Pid,