Struct panda_sys::DriveMirror[][src]

#[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: booljob_id: *mut c_chardevice: *mut c_chartarget: *mut c_charhas_format: boolformat: *mut c_charhas_node_name: boolnode_name: *mut c_charhas_replaces: boolreplaces: *mut c_charsync: MirrorSyncModehas_mode: boolmode: NewImageModehas_speed: boolspeed: i64has_granularity: boolgranularity: u32has_buf_size: boolbuf_size: i64has_on_source_error: boolon_source_error: BlockdevOnErrorhas_on_target_error: boolon_target_error: BlockdevOnErrorhas_unmap: boolunmap: bool

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.