Struct panda_sys::BlockDeviceInfo[][src]

#[repr(C)]
pub struct BlockDeviceInfo {
Show 48 fields pub file: *mut c_char, pub has_node_name: bool, pub node_name: *mut c_char, pub ro: bool, pub drv: *mut c_char, pub has_backing_file: bool, pub backing_file: *mut c_char, pub backing_file_depth: i64, pub encrypted: bool, pub encryption_key_missing: bool, pub detect_zeroes: BlockdevDetectZeroesOptions, pub bps: i64, pub bps_rd: i64, pub bps_wr: i64, pub iops: i64, pub iops_rd: i64, pub iops_wr: i64, pub image: *mut ImageInfo, pub has_bps_max: bool, pub bps_max: i64, pub has_bps_rd_max: bool, pub bps_rd_max: i64, pub has_bps_wr_max: bool, pub bps_wr_max: i64, pub has_iops_max: bool, pub iops_max: i64, pub has_iops_rd_max: bool, pub iops_rd_max: i64, pub has_iops_wr_max: bool, pub iops_wr_max: i64, pub has_bps_max_length: bool, pub bps_max_length: i64, pub has_bps_rd_max_length: bool, pub bps_rd_max_length: i64, pub has_bps_wr_max_length: bool, pub bps_wr_max_length: i64, pub has_iops_max_length: bool, pub iops_max_length: i64, pub has_iops_rd_max_length: bool, pub iops_rd_max_length: i64, pub has_iops_wr_max_length: bool, pub iops_wr_max_length: i64, pub has_iops_size: bool, pub iops_size: i64, pub has_group: bool, pub group: *mut c_char, pub cache: *mut BlockdevCacheInfo, pub write_threshold: i64,
}

Fields

file: *mut c_charhas_node_name: boolnode_name: *mut c_charro: booldrv: *mut c_charhas_backing_file: boolbacking_file: *mut c_charbacking_file_depth: i64encrypted: boolencryption_key_missing: booldetect_zeroes: BlockdevDetectZeroesOptionsbps: i64bps_rd: i64bps_wr: i64iops: i64iops_rd: i64iops_wr: i64image: *mut ImageInfohas_bps_max: boolbps_max: i64has_bps_rd_max: boolbps_rd_max: i64has_bps_wr_max: boolbps_wr_max: i64has_iops_max: booliops_max: i64has_iops_rd_max: booliops_rd_max: i64has_iops_wr_max: booliops_wr_max: i64has_bps_max_length: boolbps_max_length: i64has_bps_rd_max_length: boolbps_rd_max_length: i64has_bps_wr_max_length: boolbps_wr_max_length: i64has_iops_max_length: booliops_max_length: i64has_iops_rd_max_length: booliops_rd_max_length: i64has_iops_wr_max_length: booliops_wr_max_length: i64has_iops_size: booliops_size: i64has_group: boolgroup: *mut c_charcache: *mut BlockdevCacheInfowrite_threshold: i64

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.