xenstore: use AsRef<str> for path and restructure

This commit is contained in:
alex committed 2024-03-08 13:08:59 +00:00
1 parent 7507f17d99
commit b0bd931f0e
9 files changed
+321 -310

No files matched your search

+1 -1
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()];
+1 -1
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<()> {