#[repr(C)]pub struct DriveMirror {Show 25 fields
pub has_job_id: bool,
pub job_id: *mut i8,
pub device: *mut i8,
pub target: *mut i8,
pub has_format: bool,
pub format: *mut i8,
pub has_node_name: bool,
pub node_name: *mut i8,
pub has_replaces: bool,
pub replaces: *mut i8,
pub sync: u32,
pub has_mode: bool,
pub mode: u32,
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: u32,
pub has_on_target_error: bool,
pub on_target_error: u32,
pub has_unmap: bool,
pub unmap: bool,
}Fields§
§has_job_id: bool§job_id: *mut i8§device: *mut i8§target: *mut i8§has_format: bool§format: *mut i8§has_node_name: bool§node_name: *mut i8§has_replaces: bool§replaces: *mut i8§sync: u32§has_mode: bool§mode: u32§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: u32§has_on_target_error: bool§on_target_error: u32§has_unmap: bool§unmap: boolTrait Implementations§
Source§impl Clone for DriveMirror
impl Clone for DriveMirror
Source§fn clone(&self) -> DriveMirror
fn clone(&self) -> DriveMirror
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 DriveMirror
impl Debug for DriveMirror
impl Copy for DriveMirror
Auto Trait Implementations§
impl Freeze for DriveMirror
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