Struct panda_sys::DriveMirror
source · #[repr(C)]pub struct DriveMirror {Show 25 fields
pub has_job_id: bool,
pub job_id: *mut c_char,
pub device: *mut c_char,
pub target: *mut c_char,
pub has_format: bool,
pub format: *mut c_char,
pub has_node_name: bool,
pub node_name: *mut c_char,
pub has_replaces: bool,
pub replaces: *mut c_char,
pub sync: MirrorSyncMode,
pub has_mode: bool,
pub mode: NewImageMode,
pub has_speed: bool,
pub speed: i64,
pub has_granularity: bool,
pub granularity: u32,
pub has_buf_size: bool,
pub buf_size: i64,
pub has_on_source_error: bool,
pub on_source_error: BlockdevOnError,
pub has_on_target_error: bool,
pub on_target_error: BlockdevOnError,
pub has_unmap: bool,
pub unmap: bool,
}
Fields§
§has_job_id: bool
§job_id: *mut c_char
§device: *mut c_char
§target: *mut c_char
§has_format: bool
§format: *mut c_char
§has_node_name: bool
§node_name: *mut c_char
§has_replaces: bool
§replaces: *mut c_char
§sync: MirrorSyncMode
§has_mode: bool
§mode: NewImageMode
§has_speed: bool
§speed: i64
§has_granularity: bool
§granularity: u32
§has_buf_size: bool
§buf_size: i64
§has_on_source_error: bool
§on_source_error: BlockdevOnError
§has_on_target_error: bool
§on_target_error: BlockdevOnError
§has_unmap: bool
§unmap: bool
Trait Implementations§
source§impl Clone for DriveMirror
impl Clone for DriveMirror
source§fn clone(&self) -> DriveMirror
fn clone(&self) -> DriveMirror
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 DriveMirror
impl Debug for DriveMirror
impl Copy for DriveMirror
Auto Trait Implementations§
impl RefUnwindSafe for DriveMirror
impl !Send for DriveMirror
impl !Sync for DriveMirror
impl Unpin for DriveMirror
impl UnwindSafe for DriveMirror
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