Struct devicemapper::DmUuid [−][src]
pub struct DmUuid { /* fields omitted */ }The borrowed version of the DM identifier.
Methods
impl DmUuid[src]
impl DmUuidpub fn new(value: &str) -> DmResult<&DmUuid>[src]
pub fn new(value: &str) -> DmResult<&DmUuid>Create a new borrowed identifier from a &str.
pub fn as_bytes(&self) -> &[u8][src]
pub fn as_bytes(&self) -> &[u8]Get the inner value as bytes
Trait Implementations
impl Debug for DmUuid[src]
impl Debug for DmUuidfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DmUuid[src]
impl PartialEq for DmUuidfn eq(&self, other: &DmUuid) -> bool[src]
fn eq(&self, other: &DmUuid) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DmUuid) -> bool[src]
fn ne(&self, other: &DmUuid) -> boolThis method tests for !=.
impl Eq for DmUuid[src]
impl Eq for DmUuidimpl Hash for DmUuid[src]
impl Hash for DmUuidfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)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]
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 ToOwned for DmUuid[src]
impl ToOwned for DmUuidtype Owned = DmUuidBuf
fn to_owned(&self) -> DmUuidBuf[src]
fn to_owned(&self) -> DmUuidBufCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[src]
fn clone_into(&self, target: &mut Self::Owned)🔬 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 Display for DmUuid[src]
impl Display for DmUuidfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<DmUuid> for DmUuidBuf[src]
impl AsRef<DmUuid> for DmUuidBufimpl Borrow<DmUuid> for DmUuidBuf[src]
impl Borrow<DmUuid> for DmUuidBuf