#[repr(C)]pub struct BlkdebugInjectErrorOptions {
pub event: u32,
pub has_state: bool,
pub state: i64,
pub has_q_errno: bool,
pub q_errno: i64,
pub has_sector: bool,
pub sector: i64,
pub has_once: bool,
pub once: bool,
pub has_immediately: bool,
pub immediately: bool,
}Fields§
§event: u32§has_state: bool§state: i64§has_q_errno: bool§q_errno: i64§has_sector: bool§sector: i64§has_once: bool§once: bool§has_immediately: bool§immediately: boolTrait Implementations§
Source§impl Clone for BlkdebugInjectErrorOptions
impl Clone for BlkdebugInjectErrorOptions
Source§fn clone(&self) -> BlkdebugInjectErrorOptions
fn clone(&self) -> BlkdebugInjectErrorOptions
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 BlkdebugInjectErrorOptions
impl Debug for BlkdebugInjectErrorOptions
impl Copy for BlkdebugInjectErrorOptions
Auto Trait Implementations§
impl Freeze for BlkdebugInjectErrorOptions
impl RefUnwindSafe for BlkdebugInjectErrorOptions
impl Send for BlkdebugInjectErrorOptions
impl Sync for BlkdebugInjectErrorOptions
impl Unpin for BlkdebugInjectErrorOptions
impl UnwindSafe for BlkdebugInjectErrorOptions
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