Struct devicemapper::LinearDevTargetTable[][src]

pub struct LinearDevTargetTable {
    pub table: Vec<TargetLine<LinearDevTargetParams>>,
}

A target table for a linear device. Such a table allows flakey targets as well as linear targets.

Fields

The device's table

Methods

impl LinearDevTargetTable
[src]

Make a new LinearDevTargetTable from a suitable vec

Trait Implementations

impl Clone for LinearDevTargetTable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LinearDevTargetTable
[src]

Formats the value using the given formatter. Read more

impl Eq for LinearDevTargetTable
[src]

impl PartialEq for LinearDevTargetTable
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for LinearDevTargetTable
[src]

Formats the value using the given formatter. Read more

impl DmDevice<LinearDevTargetTable> for LinearDev
[src]

The device.

The device's device node.

Check if tables indicate an equivalent device.

The device's name.

The number of sectors available for user data.

What the device thinks its table is.

Erase the kernel's memory of this device.

The device's UUID, if available. Note that the UUID is not any standard UUID format. Read more

Read the devicemapper table

Resume I/O on the device.

Suspend I/O on the device. If flush is true, flush the device first.

Load a table

Auto Trait Implementations