Enum devicemapper::DevId [] [src]

pub enum DevId<'a> {
    Name(&'a DmName),
    Uuid(&'a DmUuid),
}

Used as a parameter for functions that take either a Device name or a Device UUID.

Variants

The parameter is the device's name

The parameter is the device's devicemapper uuid

Trait Implementations

impl<'a> Debug for DevId<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for DevId<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Eq for DevId<'a>
[src]

impl<'a> Display for DevId<'a>
[src]

[src]

Formats the value using the given formatter. Read more