[][src]Struct devicemapper::DmNameBuf

pub struct DmNameBuf { /* fields omitted */ }

The owned version of the DM identifier.

Implementations

impl DmNameBuf[src]

pub fn new(value: String) -> DmResult<DmNameBuf>[src]

Construct a new owned identifier.

Methods from Deref<Target = DmName>

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 Clone for DmNameBuf[src]

impl Debug for DmNameBuf[src]

impl Deref for DmNameBuf[src]

type Target = DmName

The resulting type after dereferencing.

impl Eq for DmNameBuf[src]

impl Hash for DmNameBuf[src]

impl PartialEq<DmNameBuf> for DmNameBuf[src]

impl StructuralEq for DmNameBuf[src]

impl StructuralPartialEq for DmNameBuf[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.