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

@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
use smoltcp::wire::{EthernetAddress, Ipv4Cidr, Ipv6Cidr};
use std::{collections::HashMap, str::FromStr};
use uuid::Uuid;
use xenstore::client::{XsdClient, XsdInterface, XsdTransaction};
use xenstore::{XsdClient, XsdInterface, XsdTransaction};
pub struct AutoNetworkCollector {
client: XsdClient,