mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
xenstore: use AsRef<str> for path and restructure
This commit is contained in:
@ -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,6 +1,6 @@
|
||||
use std::env::args;
|
||||
use xenstore::client::XsdClient;
|
||||
use xenstore::error::Result;
|
||||
use xenstore::XsdClient;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
|
Reference in New Issue
Block a user