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

@ -1,7 +1,7 @@
use std::env::args;
use xenstore::client::{XsdClient, XsdInterface};
use xenstore::error::Result;
use xenstore::{XsdClient, XsdInterface};
async fn list_recursive(client: &XsdClient, path: &str) -> Result<()> {
let mut pending = vec![path.to_string()];

View File

@ -1,6 +1,6 @@
use std::env::args;
use xenstore::client::XsdClient;
use xenstore::error::Result;
use xenstore::XsdClient;
#[tokio::main]
async fn main() -> Result<()> {