#[repr(C)]pub struct BlockdevOptionsQcow2 {Show 21 fields
pub file: *mut BlockdevRef,
pub has_backing: bool,
pub backing: *mut BlockdevRef,
pub has_lazy_refcounts: bool,
pub lazy_refcounts: bool,
pub has_pass_discard_request: bool,
pub pass_discard_request: bool,
pub has_pass_discard_snapshot: bool,
pub pass_discard_snapshot: bool,
pub has_pass_discard_other: bool,
pub pass_discard_other: bool,
pub has_overlap_check: bool,
pub overlap_check: *mut Qcow2OverlapChecks,
pub has_cache_size: bool,
pub cache_size: i64,
pub has_l2_cache_size: bool,
pub l2_cache_size: i64,
pub has_refcount_cache_size: bool,
pub refcount_cache_size: i64,
pub has_cache_clean_interval: bool,
pub cache_clean_interval: i64,
}Fields§
§file: *mut BlockdevRef§has_backing: bool§backing: *mut BlockdevRef§has_lazy_refcounts: bool§lazy_refcounts: bool§has_pass_discard_request: bool§pass_discard_request: bool§has_pass_discard_snapshot: bool§pass_discard_snapshot: bool§has_pass_discard_other: bool§pass_discard_other: bool§has_overlap_check: bool§overlap_check: *mut Qcow2OverlapChecks§has_cache_size: bool§cache_size: i64§has_l2_cache_size: bool§l2_cache_size: i64§has_refcount_cache_size: bool§refcount_cache_size: i64§has_cache_clean_interval: bool§cache_clean_interval: i64Trait Implementations§
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
impl Copy 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