Enum qapi_qmp::BlockdevAmendOptions
source · [−]pub enum BlockdevAmendOptions {
qcow2(BlockdevAmendOptionsQcow2),
luks(BlockdevAmendOptionsLUKS),
}Variants
qcow2(BlockdevAmendOptionsQcow2)
luks(BlockdevAmendOptionsLUKS)
Implementations
sourceimpl BlockdevAmendOptions
impl BlockdevAmendOptions
pub fn driver(&self) -> BlockdevDriver
Trait Implementations
sourceimpl Clone for BlockdevAmendOptions
impl Clone for BlockdevAmendOptions
sourcefn clone(&self) -> BlockdevAmendOptions
fn clone(&self) -> BlockdevAmendOptions
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 BlockdevAmendOptions
impl Debug for BlockdevAmendOptions
sourceimpl<'de> Deserialize<'de> for BlockdevAmendOptions
impl<'de> Deserialize<'de> for BlockdevAmendOptions
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<BlockdevAmendOptionsLUKS> for BlockdevAmendOptions
impl From<BlockdevAmendOptionsLUKS> for BlockdevAmendOptions
sourcefn from(val: BlockdevAmendOptionsLUKS) -> Self
fn from(val: BlockdevAmendOptionsLUKS) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
impl From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
sourcefn from(val: BlockdevAmendOptionsQcow2) -> Self
fn from(val: BlockdevAmendOptionsQcow2) -> Self
Converts to this type from the input type.
sourceimpl Serialize for BlockdevAmendOptions
impl Serialize for BlockdevAmendOptions
Auto Trait Implementations
impl RefUnwindSafe for BlockdevAmendOptions
impl Send for BlockdevAmendOptions
impl Sync for BlockdevAmendOptions
impl Unpin for BlockdevAmendOptions
impl UnwindSafe for BlockdevAmendOptions
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more