Struct devicemapper::DmUuid
[−]
[src]
pub struct DmUuid { /* fields omitted */ }
The borrowed version of the DM identifier.
Methods
impl DmUuid
[src]
fn new(value: &str) -> DmResult<&DmUuid>
[src]
Create a new borrowed identifier from a &str
.
fn as_bytes(&self) -> &[u8]
[src]
Get the inner value as bytes
Trait Implementations
impl Debug for DmUuid
[src]
impl PartialEq for DmUuid
[src]
fn eq(&self, __arg_0: &DmUuid) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DmUuid) -> bool
[src]
This method tests for !=
.
impl Eq for DmUuid
[src]
impl Hash for DmUuid
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ToOwned for DmUuid
[src]
type Owned = DmUuidBuf
fn to_owned(&self) -> DmUuidBuf
[src]
Creates owned data from borrowed data, usually by cloning. Read more
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