Struct devicemapper::ThinDevId [] [src]

pub struct ThinDevId { /* fields omitted */ }

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

Methods

impl ThinDevId
[src]

[src]

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

Trait Implementations

impl Debug for ThinDevId
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ThinDevId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ThinDevId
[src]

impl Eq for ThinDevId
[src]

impl PartialEq for ThinDevId
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for ThinDevId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<ThinDevId> for u32
[src]

[src]

Performs the conversion.

impl Display for ThinDevId
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for ThinDevId
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Serialize for ThinDevId
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for ThinDevId

impl Sync for ThinDevId