[][src]Struct devicemapper::DmUuid

pub struct DmUuid { /* fields omitted */ }

The borrowed version of the DM identifier.

Methods

impl DmUuid[src]

pub fn new(value: &str) -> DmResult<&DmUuid>[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 ToOwned for DmUuid[src]

type Owned = DmUuidBuf

The resulting type after obtaining ownership.

fn clone_into(&self, target: &mut Self::Owned)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl Eq for DmUuid[src]

impl PartialEq<DmUuid> for DmUuid[src]

impl AsRef<DmUuid> for DmUuidBuf[src]

impl Debug for DmUuid[src]

impl Display for DmUuid[src]

impl Hash for DmUuid[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Borrow<DmUuid> for DmUuidBuf[src]

Auto Trait Implementations

impl Send for DmUuid

impl Sync for DmUuid

Blanket Implementations

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]

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

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

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