[][src]Struct uuid::BytesError

pub struct BytesError { /* fields omitted */ }

The error that can occur when creating a Uuid.

Methods

impl BytesError[src]

pub fn expected(&self) -> usize[src]

The expected number of bytes.

pub fn found(&self) -> usize[src]

The number of bytes found.

pub fn new(expected: usize, found: usize) -> Self[src]

Create a new UuidError.

Trait Implementations

impl Eq for BytesError[src]

impl Clone for BytesError[src]

impl PartialOrd<BytesError> for BytesError[src]

impl PartialEq<BytesError> for BytesError[src]

impl Ord for BytesError[src]

impl From<BytesError> for Error[src]

impl Copy for BytesError[src]

impl Hash for BytesError[src]

impl Debug for BytesError[src]

impl Display for BytesError[src]

impl Error for BytesError[src]

Auto Trait Implementations

impl Send for BytesError

impl Unpin for BytesError

impl Sync for BytesError

impl UnwindSafe for BytesError

impl RefUnwindSafe for BytesError

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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