Enum qapi_qmp::TransactionAction
source · [−]pub enum TransactionAction {
blockdev_snapshot(BlockdevSnapshotWrapper),
drive_backup(DriveBackupWrapper),
block_dirty_bitmap_disable(BlockDirtyBitmapWrapper),
block_dirty_bitmap_add(BlockDirtyBitmapAddWrapper),
block_dirty_bitmap_clear(BlockDirtyBitmapWrapper),
block_dirty_bitmap_enable(BlockDirtyBitmapWrapper),
block_dirty_bitmap_merge(BlockDirtyBitmapMergeWrapper),
blockdev_backup(BlockdevBackupWrapper),
blockdev_snapshot_internal_sync(BlockdevSnapshotInternalWrapper),
blockdev_snapshot_sync(BlockdevSnapshotSyncWrapper),
block_dirty_bitmap_remove(BlockDirtyBitmapWrapper),
abort(AbortWrapper),
}Variants
blockdev_snapshot(BlockdevSnapshotWrapper)
drive_backup(DriveBackupWrapper)
block_dirty_bitmap_disable(BlockDirtyBitmapWrapper)
block_dirty_bitmap_add(BlockDirtyBitmapAddWrapper)
block_dirty_bitmap_clear(BlockDirtyBitmapWrapper)
block_dirty_bitmap_enable(BlockDirtyBitmapWrapper)
block_dirty_bitmap_merge(BlockDirtyBitmapMergeWrapper)
blockdev_backup(BlockdevBackupWrapper)
blockdev_snapshot_internal_sync(BlockdevSnapshotInternalWrapper)
blockdev_snapshot_sync(BlockdevSnapshotSyncWrapper)
block_dirty_bitmap_remove(BlockDirtyBitmapWrapper)
abort(AbortWrapper)
Implementations
sourceimpl TransactionAction
impl TransactionAction
pub fn type_(&self) -> TransactionActionKind
Trait Implementations
sourceimpl Clone for TransactionAction
impl Clone for TransactionAction
sourcefn clone(&self) -> TransactionAction
fn clone(&self) -> TransactionAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TransactionAction
impl Debug for TransactionAction
sourceimpl<'de> Deserialize<'de> for TransactionAction
impl<'de> Deserialize<'de> for TransactionAction
sourcefn 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
sourceimpl From<Abort> for TransactionAction
impl From<Abort> for TransactionAction
sourceimpl From<AbortWrapper> for TransactionAction
impl From<AbortWrapper> for TransactionAction
sourcefn from(val: AbortWrapper) -> Self
fn from(val: AbortWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockDirtyBitmapAdd> for TransactionAction
impl From<BlockDirtyBitmapAdd> for TransactionAction
sourcefn from(val: BlockDirtyBitmapAdd) -> Self
fn from(val: BlockDirtyBitmapAdd) -> Self
Converts to this type from the input type.
sourceimpl From<BlockDirtyBitmapAddWrapper> for TransactionAction
impl From<BlockDirtyBitmapAddWrapper> for TransactionAction
sourcefn from(val: BlockDirtyBitmapAddWrapper) -> Self
fn from(val: BlockDirtyBitmapAddWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockDirtyBitmapMerge> for TransactionAction
impl From<BlockDirtyBitmapMerge> for TransactionAction
sourcefn from(val: BlockDirtyBitmapMerge) -> Self
fn from(val: BlockDirtyBitmapMerge) -> Self
Converts to this type from the input type.
sourceimpl From<BlockDirtyBitmapMergeWrapper> for TransactionAction
impl From<BlockDirtyBitmapMergeWrapper> for TransactionAction
sourcefn from(val: BlockDirtyBitmapMergeWrapper) -> Self
fn from(val: BlockDirtyBitmapMergeWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevBackup> for TransactionAction
impl From<BlockdevBackup> for TransactionAction
sourcefn from(val: BlockdevBackup) -> Self
fn from(val: BlockdevBackup) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevBackupWrapper> for TransactionAction
impl From<BlockdevBackupWrapper> for TransactionAction
sourcefn from(val: BlockdevBackupWrapper) -> Self
fn from(val: BlockdevBackupWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshot> for TransactionAction
impl From<BlockdevSnapshot> for TransactionAction
sourcefn from(val: BlockdevSnapshot) -> Self
fn from(val: BlockdevSnapshot) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshotInternal> for TransactionAction
impl From<BlockdevSnapshotInternal> for TransactionAction
sourcefn from(val: BlockdevSnapshotInternal) -> Self
fn from(val: BlockdevSnapshotInternal) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshotInternalWrapper> for TransactionAction
impl From<BlockdevSnapshotInternalWrapper> for TransactionAction
sourcefn from(val: BlockdevSnapshotInternalWrapper) -> Self
fn from(val: BlockdevSnapshotInternalWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshotSync> for TransactionAction
impl From<BlockdevSnapshotSync> for TransactionAction
sourcefn from(val: BlockdevSnapshotSync) -> Self
fn from(val: BlockdevSnapshotSync) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshotSyncWrapper> for TransactionAction
impl From<BlockdevSnapshotSyncWrapper> for TransactionAction
sourcefn from(val: BlockdevSnapshotSyncWrapper) -> Self
fn from(val: BlockdevSnapshotSyncWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevSnapshotWrapper> for TransactionAction
impl From<BlockdevSnapshotWrapper> for TransactionAction
sourcefn from(val: BlockdevSnapshotWrapper) -> Self
fn from(val: BlockdevSnapshotWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<DriveBackup> for TransactionAction
impl From<DriveBackup> for TransactionAction
sourcefn from(val: DriveBackup) -> Self
fn from(val: DriveBackup) -> Self
Converts to this type from the input type.
sourceimpl From<DriveBackupWrapper> for TransactionAction
impl From<DriveBackupWrapper> for TransactionAction
sourcefn from(val: DriveBackupWrapper) -> Self
fn from(val: DriveBackupWrapper) -> Self
Converts to this type from the input type.
sourceimpl Serialize for TransactionAction
impl Serialize for TransactionAction
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more