[−][src]Struct devicemapper::DmName
The borrowed version of the DM identifier.
Implementations
impl DmName[src]
pub fn new(value: &str) -> DmResult<&DmName>[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 AsRef<DmName> for DmNameBuf[src]
impl Borrow<DmName> for DmNameBuf[src]
impl Debug for DmName[src]
impl Display for DmName[src]
impl Eq for DmName[src]
impl Hash for DmName[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,
impl PartialEq<DmName> for DmName[src]
impl StructuralEq for DmName[src]
impl StructuralPartialEq for DmName[src]
impl ToOwned for DmName[src]
Auto Trait Implementations
impl RefUnwindSafe for DmName
impl Send for DmName
impl Sync for DmName
impl Unpin for DmName
impl UnwindSafe for DmName
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,