#[repr(C)]
pub struct dm_info { pub exists: c_int, pub suspended: c_int, pub live_table: c_int, pub inactive_table: c_int, pub open_count: i32, pub event_nr: u32, pub major: u32, pub minor: u32, pub read_only: c_int, pub target_count: i32, pub deferred_remove: c_int, pub internal_suspend: c_int, }

Fields

exists: c_intsuspended: c_intlive_table: c_intinactive_table: c_intopen_count: i32event_nr: u32major: u32minor: u32read_only: c_inttarget_count: i32deferred_remove: c_intinternal_suspend: c_int

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.