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
Name(&'a DmName)The parameter is the device's name
Uuid(&'a DmUuid)The parameter is the device's devicemapper uuid
Trait Implementations
impl<'a> Debug for DevId<'a>[src]
impl<'a> PartialEq for DevId<'a>[src]
fn eq(&self, __arg_0: &DevId<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DevId<'a>) -> bool[src]
This method tests for !=.