Struct panda_sys::BlockdevOptionsBlkdebug
source · #[repr(C)]pub struct BlockdevOptionsBlkdebug {Show 19 fields
pub image: *mut BlockdevRef,
pub has_config: bool,
pub config: *mut c_char,
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 c_char
§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 BlkdebugSetStateOptionsList
Trait Implementations§
source§impl Clone for BlockdevOptionsBlkdebug
impl Clone for BlockdevOptionsBlkdebug
source§fn clone(&self) -> BlockdevOptionsBlkdebug
fn clone(&self) -> BlockdevOptionsBlkdebug
Returns a copy 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 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