pub struct BlockdevOptionsQcow2 {Show 14 fields
pub base: BlockdevOptionsGenericCOWFormat,
pub cache_clean_interval: Option<i64>,
pub cache_size: Option<i64>,
pub data_file: Option<BlockdevRef>,
pub discard_no_unref: Option<bool>,
pub encrypt: Option<BlockdevQcow2Encryption>,
pub l2_cache_entry_size: Option<i64>,
pub l2_cache_size: Option<i64>,
pub lazy_refcounts: Option<bool>,
pub overlap_check: Option<Qcow2OverlapChecks>,
pub pass_discard_other: Option<bool>,
pub pass_discard_request: Option<bool>,
pub pass_discard_snapshot: Option<bool>,
pub refcount_cache_size: Option<i64>,
}
Fields§
§base: BlockdevOptionsGenericCOWFormat
§cache_clean_interval: Option<i64>
§cache_size: Option<i64>
§data_file: Option<BlockdevRef>
§discard_no_unref: Option<bool>
§encrypt: Option<BlockdevQcow2Encryption>
§l2_cache_entry_size: Option<i64>
§l2_cache_size: Option<i64>
§lazy_refcounts: Option<bool>
§overlap_check: Option<Qcow2OverlapChecks>
§pass_discard_other: Option<bool>
§pass_discard_request: Option<bool>
§pass_discard_snapshot: Option<bool>
§refcount_cache_size: Option<i64>
Trait Implementations§
Source§impl AsRef<BlockdevOptionsGenericCOWFormat> for BlockdevOptionsQcow2
impl AsRef<BlockdevOptionsGenericCOWFormat> for BlockdevOptionsQcow2
Source§fn as_ref(&self) -> &BlockdevOptionsGenericCOWFormat
fn as_ref(&self) -> &BlockdevOptionsGenericCOWFormat
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BlockdevOptionsQcow2
impl Clone for BlockdevOptionsQcow2
Source§fn clone(&self) -> BlockdevOptionsQcow2
fn clone(&self) -> BlockdevOptionsQcow2
Returns a duplicate 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 BlockdevOptionsQcow2
impl Debug for BlockdevOptionsQcow2
Source§impl<'de> Deserialize<'de> for BlockdevOptionsQcow2
impl<'de> Deserialize<'de> for BlockdevOptionsQcow2
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<T: Into<BlockdevOptionsGenericCOWFormat>> From<T> for BlockdevOptionsQcow2
impl<T: Into<BlockdevOptionsGenericCOWFormat>> From<T> for BlockdevOptionsQcow2
Auto Trait Implementations§
impl Freeze for BlockdevOptionsQcow2
impl RefUnwindSafe for BlockdevOptionsQcow2
impl Send for BlockdevOptionsQcow2
impl Sync for BlockdevOptionsQcow2
impl Unpin for BlockdevOptionsQcow2
impl UnwindSafe for BlockdevOptionsQcow2
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