[−][src]Struct devicemapper::LinearDevTargetTable
A target table for a linear device. Such a table allows flakey targets as well as linear targets.
Fields
table: Vec<TargetLine<LinearDevTargetParams>>
The device's table
Methods
impl LinearDevTargetTable
[src]
pub fn new(
table: Vec<TargetLine<LinearDevTargetParams>>
) -> LinearDevTargetTable
[src]
table: Vec<TargetLine<LinearDevTargetParams>>
) -> LinearDevTargetTable
Make a new LinearDevTargetTable from a suitable vec
Trait Implementations
impl DmDevice<LinearDevTargetTable> for LinearDev
[src]
fn device(&self) -> Device
[src]
fn devnode(&self) -> PathBuf
[src]
fn equivalent_tables(
left: &LinearDevTargetTable,
right: &LinearDevTargetTable
) -> DmResult<bool>
[src]
left: &LinearDevTargetTable,
right: &LinearDevTargetTable
) -> DmResult<bool>
fn name(&self) -> &DmName
[src]
fn size(&self) -> Sectors
[src]
fn table(&self) -> &LinearDevTargetTable
[src]
fn teardown(&mut self, dm: &DM) -> DmResult<()>
[src]
fn uuid(&self) -> Option<&DmUuid>
[src]
fn read_kernel_table(dm: &DM, id: &DevId) -> DmResult<T>
[src]
Read the devicemapper table
fn resume(&mut self, dm: &DM) -> DmResult<()>
[src]
Resume I/O on the device.
fn suspend(&mut self, dm: &DM, flush: bool) -> DmResult<()>
[src]
Suspend I/O on the device. If flush is true, flush the device first.
fn table_load(&self, dm: &DM, table: &T) -> DmResult<()>
[src]
Load a table
impl Eq for LinearDevTargetTable
[src]
impl PartialEq<LinearDevTargetTable> for LinearDevTargetTable
[src]
fn eq(&self, other: &LinearDevTargetTable) -> bool
[src]
fn ne(&self, other: &LinearDevTargetTable) -> bool
[src]
impl Clone for LinearDevTargetTable
[src]
fn clone(&self) -> LinearDevTargetTable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LinearDevTargetTable
[src]
impl Display for LinearDevTargetTable
[src]
Auto Trait Implementations
impl Send for LinearDevTargetTable
impl Sync for LinearDevTargetTable
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,