pub struct XenClient {
pub store: XsdClient,
pub call: XenCall,
/* private fields */
}
Fields§
§store: XsdClient
§call: XenCall
Implementations§
Source§impl XenClient
impl XenClient
pub async fn new() -> Result<XenClient>
pub async fn create(&self, config: DomainConfig) -> Result<DomainResult>
pub async fn transaction( &self, domid: u32, backend_domid: u32, ) -> Result<XenTransaction>
pub async fn destroy(&self, domid: u32) -> Result<()>
pub async fn destroy_device( &self, category: &str, domid: u32, devid: u64, blkid: Option<u32>, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XenClient
impl !RefUnwindSafe for XenClient
impl Send for XenClient
impl Sync for XenClient
impl Unpin for XenClient
impl !UnwindSafe for XenClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more