pub trait Xs {
// Required methods
fn directory(&self, path: &str) -> Result<Vec<Box<str>>>;
fn read(&self, path: &str) -> Result<Box<str>>;
fn write(&self, path: &str, data: &str) -> Result<()>;
fn rm(&self, path: &str) -> Result<()>;
}Expand description
Xenstore base trait. All xenstore implementations must implement this trait.