Enum qapi_qmp::TransactionAction
source · pub enum TransactionAction {
abort(AbortWrapper),
block_dirty_bitmap_add(BlockDirtyBitmapAddWrapper),
block_dirty_bitmap_clear(BlockDirtyBitmapWrapper),
block_dirty_bitmap_disable(BlockDirtyBitmapWrapper),
block_dirty_bitmap_enable(BlockDirtyBitmapWrapper),
block_dirty_bitmap_merge(BlockDirtyBitmapMergeWrapper),
block_dirty_bitmap_remove(BlockDirtyBitmapWrapper),
blockdev_backup(BlockdevBackupWrapper),
blockdev_snapshot(BlockdevSnapshotWrapper),
blockdev_snapshot_internal_sync(BlockdevSnapshotInternalWrapper),
blockdev_snapshot_sync(BlockdevSnapshotSyncWrapper),
drive_backup(DriveBackupWrapper),
}
Variants§
abort(AbortWrapper)
block_dirty_bitmap_add(BlockDirtyBitmapAddWrapper)
block_dirty_bitmap_clear(BlockDirtyBitmapWrapper)
block_dirty_bitmap_disable(BlockDirtyBitmapWrapper)
block_dirty_bitmap_enable(BlockDirtyBitmapWrapper)
block_dirty_bitmap_merge(BlockDirtyBitmapMergeWrapper)
block_dirty_bitmap_remove(BlockDirtyBitmapWrapper)
blockdev_backup(BlockdevBackupWrapper)
blockdev_snapshot(BlockdevSnapshotWrapper)
blockdev_snapshot_internal_sync(BlockdevSnapshotInternalWrapper)
blockdev_snapshot_sync(BlockdevSnapshotSyncWrapper)
drive_backup(DriveBackupWrapper)
Implementations§
source§impl TransactionAction
impl TransactionAction
pub fn type_(&self) -> TransactionActionKind
Trait Implementations§
source§impl Clone for TransactionAction
impl Clone for TransactionAction
source§fn clone(&self) -> TransactionAction
fn clone(&self) -> TransactionAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransactionAction
impl Debug for TransactionAction
source§impl<'de> Deserialize<'de> for TransactionAction
impl<'de> Deserialize<'de> for TransactionAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Abort> for TransactionAction
impl From<Abort> for TransactionAction
source§impl From<AbortWrapper> for TransactionAction
impl From<AbortWrapper> for TransactionAction
source§fn from(val: AbortWrapper) -> Self
fn from(val: AbortWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockDirtyBitmapAdd> for TransactionAction
impl From<BlockDirtyBitmapAdd> for TransactionAction
source§fn from(val: BlockDirtyBitmapAdd) -> Self
fn from(val: BlockDirtyBitmapAdd) -> Self
Converts to this type from the input type.
source§impl From<BlockDirtyBitmapAddWrapper> for TransactionAction
impl From<BlockDirtyBitmapAddWrapper> for TransactionAction
source§fn from(val: BlockDirtyBitmapAddWrapper) -> Self
fn from(val: BlockDirtyBitmapAddWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockDirtyBitmapMerge> for TransactionAction
impl From<BlockDirtyBitmapMerge> for TransactionAction
source§fn from(val: BlockDirtyBitmapMerge) -> Self
fn from(val: BlockDirtyBitmapMerge) -> Self
Converts to this type from the input type.
source§impl From<BlockDirtyBitmapMergeWrapper> for TransactionAction
impl From<BlockDirtyBitmapMergeWrapper> for TransactionAction
source§fn from(val: BlockDirtyBitmapMergeWrapper) -> Self
fn from(val: BlockDirtyBitmapMergeWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockdevBackup> for TransactionAction
impl From<BlockdevBackup> for TransactionAction
source§fn from(val: BlockdevBackup) -> Self
fn from(val: BlockdevBackup) -> Self
Converts to this type from the input type.
source§impl From<BlockdevBackupWrapper> for TransactionAction
impl From<BlockdevBackupWrapper> for TransactionAction
source§fn from(val: BlockdevBackupWrapper) -> Self
fn from(val: BlockdevBackupWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshot> for TransactionAction
impl From<BlockdevSnapshot> for TransactionAction
source§fn from(val: BlockdevSnapshot) -> Self
fn from(val: BlockdevSnapshot) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshotInternal> for TransactionAction
impl From<BlockdevSnapshotInternal> for TransactionAction
source§fn from(val: BlockdevSnapshotInternal) -> Self
fn from(val: BlockdevSnapshotInternal) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshotInternalWrapper> for TransactionAction
impl From<BlockdevSnapshotInternalWrapper> for TransactionAction
source§fn from(val: BlockdevSnapshotInternalWrapper) -> Self
fn from(val: BlockdevSnapshotInternalWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshotSync> for TransactionAction
impl From<BlockdevSnapshotSync> for TransactionAction
source§fn from(val: BlockdevSnapshotSync) -> Self
fn from(val: BlockdevSnapshotSync) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshotSyncWrapper> for TransactionAction
impl From<BlockdevSnapshotSyncWrapper> for TransactionAction
source§fn from(val: BlockdevSnapshotSyncWrapper) -> Self
fn from(val: BlockdevSnapshotSyncWrapper) -> Self
Converts to this type from the input type.
source§impl From<BlockdevSnapshotWrapper> for TransactionAction
impl From<BlockdevSnapshotWrapper> for TransactionAction
source§fn from(val: BlockdevSnapshotWrapper) -> Self
fn from(val: BlockdevSnapshotWrapper) -> Self
Converts to this type from the input type.
source§impl From<DriveBackup> for TransactionAction
impl From<DriveBackup> for TransactionAction
source§fn from(val: DriveBackup) -> Self
fn from(val: DriveBackup) -> Self
Converts to this type from the input type.
source§impl From<DriveBackupWrapper> for TransactionAction
impl From<DriveBackupWrapper> for TransactionAction
source§fn from(val: DriveBackupWrapper) -> Self
fn from(val: DriveBackupWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TransactionAction
impl Send for TransactionAction
impl Sync for TransactionAction
impl Unpin for TransactionAction
impl UnwindSafe for TransactionAction
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