Struct devicemapper::ThinDevWorkingStatus
[−]
[src]
pub struct ThinDevWorkingStatus {
pub nr_mapped_sectors: Sectors,
pub highest_mapped_sector: Option<Sectors>,
}Status values for a thin device that is working
Fields
nr_mapped_sectors: Sectors
The number of mapped sectors
highest_mapped_sector: Option<Sectors>
The highest mapped sector if any.
Methods
impl ThinDevWorkingStatus[src]
fn new(
nr_mapped_sectors: Sectors,
highest_mapped_sector: Option<Sectors>
) -> ThinDevWorkingStatus[src]
nr_mapped_sectors: Sectors,
highest_mapped_sector: Option<Sectors>
) -> ThinDevWorkingStatus
Make a new ThinDevWorkingStatus struct
Trait Implementations
impl Clone for ThinDevWorkingStatus[src]
fn clone(&self) -> ThinDevWorkingStatus[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more