[][src]Struct devicemapper::DmName

pub struct DmName { /* fields omitted */ }

The borrowed version of the DM identifier.

Implementations

impl DmName[src]

pub fn new(value: &str) -> DmResult<&DmName>[src]

Create a new borrowed identifier from a &str.

pub fn as_bytes(&self) -> &[u8][src]

Get the inner value as bytes

Trait Implementations

impl AsRef<DmName> for DmNameBuf[src]

impl Borrow<DmName> for DmNameBuf[src]

impl Debug for DmName[src]

impl Display for DmName[src]

impl Eq for DmName[src]

impl Hash for DmName[src]

impl PartialEq<DmName> for DmName[src]

impl StructuralEq for DmName[src]

impl StructuralPartialEq for DmName[src]

impl ToOwned for DmName[src]

type Owned = DmNameBuf

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for DmName

impl Send for DmName

impl Sync for DmName

impl Unpin for DmName

impl UnwindSafe for DmName

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]