[−][src]Struct uuid::BytesError
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 Copy for BytesError
[src]
impl Eq for BytesError
[src]
impl Clone for BytesError
[src][+]
impl PartialOrd<BytesError> for BytesError
[src][+]
impl PartialEq<BytesError> for BytesError
[src][+]
impl From<BytesError> for Error
[src][+]
impl Ord for BytesError
[src][+]
impl Hash for BytesError
[src][+]
impl Display for BytesError
[src][+]
impl Debug for BytesError
[src][+]
impl Error for BytesError
[src][+]
Auto Trait Implementations
impl Unpin for BytesError
impl Sync for BytesError
impl Send for BytesError
impl UnwindSafe for BytesError
impl RefUnwindSafe for BytesError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,