[][src]Struct devicemapper::ThinDevId

pub struct ThinDevId { /* fields omitted */ }

A thindev id is a 24 bit number, i.e., its bit width is not a power of 2.

Implementations

impl ThinDevId[src]

pub fn new_u64(value: u64) -> DmResult<ThinDevId>[src]

Make a new ThinDevId. Return an error if value is too large to represent in 24 bits.

Trait Implementations

impl Clone for ThinDevId[src]

impl Copy for ThinDevId[src]

impl Debug for ThinDevId[src]

impl<'de> Deserialize<'de> for ThinDevId[src]

impl Display for ThinDevId[src]

impl Eq for ThinDevId[src]

impl From<ThinDevId> for u32[src]

impl FromStr for ThinDevId[src]

type Err = DmError

The associated error which can be returned from parsing.

impl Hash for ThinDevId[src]

impl PartialEq<ThinDevId> for ThinDevId[src]

impl Serialize for ThinDevId[src]

impl StructuralEq for ThinDevId[src]

impl StructuralPartialEq for ThinDevId[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.