[−][src]Struct devicemapper::DmUuid
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 to_owned(&self) -> DmUuidBuf
[src]
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<__H: Hasher>(&self, state: &mut __H)
[src]
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 Borrow<DmUuid> for DmUuidBuf
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,