Struct devicemapper::ThinPoolDevTargetTable
source · pub struct ThinPoolDevTargetTable {
pub table: TargetLine<ThinPoolTargetParams>,
}
Expand description
A target table for a thin pool device.
Fields§
§table: TargetLine<ThinPoolTargetParams>
The device’s table
Implementations§
source§impl ThinPoolDevTargetTable
impl ThinPoolDevTargetTable
sourcepub fn new(
start: Sectors,
length: Sectors,
params: ThinPoolTargetParams
) -> ThinPoolDevTargetTable
pub fn new( start: Sectors, length: Sectors, params: ThinPoolTargetParams ) -> ThinPoolDevTargetTable
Make a new ThinPoolDevTargetTable from a suitable vec
Trait Implementations§
source§impl Clone for ThinPoolDevTargetTable
impl Clone for ThinPoolDevTargetTable
source§fn clone(&self) -> ThinPoolDevTargetTable
fn clone(&self) -> ThinPoolDevTargetTable
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 ThinPoolDevTargetTable
impl Debug for ThinPoolDevTargetTable
source§impl Display for ThinPoolDevTargetTable
impl Display for ThinPoolDevTargetTable
source§impl DmDevice<ThinPoolDevTargetTable> for ThinPoolDev
impl DmDevice<ThinPoolDevTargetTable> for ThinPoolDev
source§fn equivalent_tables(
left: &ThinPoolDevTargetTable,
right: &ThinPoolDevTargetTable
) -> DmResult<bool>
fn equivalent_tables( left: &ThinPoolDevTargetTable, right: &ThinPoolDevTargetTable ) -> DmResult<bool>
Check if tables indicate an equivalent device.
source§fn table(&self) -> &ThinPoolDevTargetTable
fn table(&self) -> &ThinPoolDevTargetTable
What the device thinks its table is.
source§impl PartialEq for ThinPoolDevTargetTable
impl PartialEq for ThinPoolDevTargetTable
source§fn eq(&self, other: &ThinPoolDevTargetTable) -> bool
fn eq(&self, other: &ThinPoolDevTargetTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TargetTable for ThinPoolDevTargetTable
impl TargetTable for ThinPoolDevTargetTable
impl Eq for ThinPoolDevTargetTable
impl StructuralPartialEq for ThinPoolDevTargetTable
Auto Trait Implementations§
impl Freeze for ThinPoolDevTargetTable
impl RefUnwindSafe for ThinPoolDevTargetTable
impl Send for ThinPoolDevTargetTable
impl Sync for ThinPoolDevTargetTable
impl Unpin for ThinPoolDevTargetTable
impl UnwindSafe for ThinPoolDevTargetTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more