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