Struct devicemapper::ThinDevTargetTable
source · pub struct ThinDevTargetTable {
pub table: TargetLine<ThinTargetParams>,
}Expand description
A target table for a thin device.
Fields§
§table: TargetLine<ThinTargetParams>The device’s table
Implementations§
source§impl ThinDevTargetTable
impl ThinDevTargetTable
sourcepub fn new(
start: Sectors,
length: Sectors,
params: ThinTargetParams
) -> ThinDevTargetTable
pub fn new( start: Sectors, length: Sectors, params: ThinTargetParams ) -> ThinDevTargetTable
Make a new ThinDevTargetTable from required input
Trait Implementations§
source§impl Clone for ThinDevTargetTable
impl Clone for ThinDevTargetTable
source§fn clone(&self) -> ThinDevTargetTable
fn clone(&self) -> ThinDevTargetTable
Returns a copy 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 ThinDevTargetTable
impl Debug for ThinDevTargetTable
source§impl Display for ThinDevTargetTable
impl Display for ThinDevTargetTable
source§impl DmDevice<ThinDevTargetTable> for ThinDev
impl DmDevice<ThinDevTargetTable> for ThinDev
source§fn equivalent_tables(
left: &ThinDevTargetTable,
right: &ThinDevTargetTable
) -> DmResult<bool>
fn equivalent_tables( left: &ThinDevTargetTable, right: &ThinDevTargetTable ) -> DmResult<bool>
Check if tables indicate an equivalent device.
source§fn table(&self) -> &ThinDevTargetTable
fn table(&self) -> &ThinDevTargetTable
What the device thinks its table is.
source§impl PartialEq<ThinDevTargetTable> for ThinDevTargetTable
impl PartialEq<ThinDevTargetTable> for ThinDevTargetTable
source§fn eq(&self, other: &ThinDevTargetTable) -> bool
fn eq(&self, other: &ThinDevTargetTable) -> bool
This method tests for
self and other values to be equal, and is used
by ==.