pub struct BlockdevOptionsCbw {
pub base: BlockdevOptionsGenericFormat,
pub bitmap: Option<BlockDirtyBitmap>,
pub cbw_timeout: Option<u32>,
pub on_cbw_error: Option<OnCbwError>,
pub target: BlockdevRef,
}
Fields§
§base: BlockdevOptionsGenericFormat
§bitmap: Option<BlockDirtyBitmap>
§cbw_timeout: Option<u32>
§on_cbw_error: Option<OnCbwError>
§target: BlockdevRef
Trait Implementations§
Source§impl Clone for BlockdevOptionsCbw
impl Clone for BlockdevOptionsCbw
Source§fn clone(&self) -> BlockdevOptionsCbw
fn clone(&self) -> BlockdevOptionsCbw
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 BlockdevOptionsCbw
impl Debug for BlockdevOptionsCbw
Source§impl<'de> Deserialize<'de> for BlockdevOptionsCbw
impl<'de> Deserialize<'de> for BlockdevOptionsCbw
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
Auto Trait Implementations§
impl Freeze for BlockdevOptionsCbw
impl RefUnwindSafe for BlockdevOptionsCbw
impl Send for BlockdevOptionsCbw
impl Sync for BlockdevOptionsCbw
impl Unpin for BlockdevOptionsCbw
impl UnwindSafe for BlockdevOptionsCbw
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