Struct xenclient::tx::ClientTransaction
source · pub struct ClientTransaction { /* private fields */ }Implementations§
source§impl ClientTransaction
impl ClientTransaction
pub async fn new( store: &XsdClient, domid: u32, backend_domid: u32, ) -> Result<Self>
pub async fn add_domain_declaration( &self, name: impl AsRef<str>, base: &BaseDomainConfig, created: &CreatedDomain, ) -> Result<()>
pub async fn write_key( &self, key: impl AsRef<str>, value: impl AsRef<str>, ) -> Result<()>
pub async fn add_rw_path(&self, key: impl AsRef<str>) -> Result<()>
pub async fn add_device( &self, typ: impl AsRef<str>, id: u64, frontend_items: Vec<(&str, String)>, backend_items: Vec<(&str, String)>, ) -> Result<()>
pub async fn add_vbd_device( &self, index: usize, disk: &DomainDisk, ) -> Result<()>
pub async fn add_vif_device( &self, index: usize, vif: &DomainNetworkInterface, ) -> Result<()>
pub async fn add_9pfs_device( &self, index: usize, filesystem: &DomainFilesystem, ) -> Result<()>
pub async fn add_channel_device( &self, domain: &CreatedDomain, index: usize, channel: &DomainChannel, ) -> Result<()>
pub async fn add_pci_device( &self, call: &XenCall, index: usize, device_count: usize, device: &DomainPciDevice, ) -> Result<()>
pub async fn commit(self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientTransaction
impl !RefUnwindSafe for ClientTransaction
impl Send for ClientTransaction
impl Sync for ClientTransaction
impl Unpin for ClientTransaction
impl !UnwindSafe for ClientTransaction
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