#[repr(C)]pub struct BlockdevOptionsBlkdebug {Show 19 fields
pub image: *mut BlockdevRef,
pub has_config: bool,
pub config: *mut i8,
pub has_align: bool,
pub align: i64,
pub has_max_transfer: bool,
pub max_transfer: i32,
pub has_opt_write_zero: bool,
pub opt_write_zero: i32,
pub has_max_write_zero: bool,
pub max_write_zero: i32,
pub has_opt_discard: bool,
pub opt_discard: i32,
pub has_max_discard: bool,
pub max_discard: i32,
pub has_inject_error: bool,
pub inject_error: *mut BlkdebugInjectErrorOptionsList,
pub has_set_state: bool,
pub set_state: *mut BlkdebugSetStateOptionsList,
}Fields§
§image: *mut BlockdevRef§has_config: bool§config: *mut i8§has_align: bool§align: i64§has_max_transfer: bool§max_transfer: i32§has_opt_write_zero: bool§opt_write_zero: i32§has_max_write_zero: bool§max_write_zero: i32§has_opt_discard: bool§opt_discard: i32§has_max_discard: bool§max_discard: i32§has_inject_error: bool§inject_error: *mut BlkdebugInjectErrorOptionsList§has_set_state: bool§set_state: *mut BlkdebugSetStateOptionsListTrait Implementations§
Source§impl Clone for BlockdevOptionsBlkdebug
impl Clone for BlockdevOptionsBlkdebug
Source§fn clone(&self) -> BlockdevOptionsBlkdebug
fn clone(&self) -> BlockdevOptionsBlkdebug
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 BlockdevOptionsBlkdebug
impl Debug for BlockdevOptionsBlkdebug
impl Copy for BlockdevOptionsBlkdebug
Auto Trait Implementations§
impl Freeze for BlockdevOptionsBlkdebug
impl RefUnwindSafe for BlockdevOptionsBlkdebug
impl !Send for BlockdevOptionsBlkdebug
impl !Sync for BlockdevOptionsBlkdebug
impl Unpin for BlockdevOptionsBlkdebug
impl UnwindSafe for BlockdevOptionsBlkdebug
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