pub struct XenClient<P: BootSetupPlatform> {
pub store: XsdClient,
pub call: XenCall,
/* private fields */
}Fields§
§store: XsdClient§call: XenCallImplementations§
source§impl<P: BootSetupPlatform> XenClient<P>
impl<P: BootSetupPlatform> XenClient<P>
pub async fn new(current_domid: u32, platform: P) -> Result<XenClient<P>>
pub async fn create(&self, config: &DomainConfig) -> Result<CreatedDomain>
pub async fn transaction( &self, domid: u32, backend_domid: u32, ) -> Result<ClientTransaction>
pub async fn destroy(&self, domid: u32) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for XenClient<P>
impl<P> !RefUnwindSafe for XenClient<P>
impl<P> Send for XenClient<P>
impl<P> Sync for XenClient<P>
impl<P> Unpin for XenClient<P>
impl<P> !UnwindSafe for XenClient<P>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)