Struct uuid::BytesError
source · [−]pub struct BytesError { /* private fields */ }
Expand description
The error that can occur when creating a Uuid
.
Implementations
sourceimpl BytesError
impl BytesError
Trait Implementations
sourceimpl Clone for BytesError
impl Clone for BytesError
sourcefn clone(&self) -> BytesError
fn clone(&self) -> BytesError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BytesError
impl Debug for BytesError
sourceimpl Display for BytesError
impl Display for BytesError
sourceimpl Error for BytesError
impl Error for BytesError
sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<BytesError> for Error
impl From<BytesError> for Error
sourcefn from(err: BytesError) -> Self
fn from(err: BytesError) -> Self
Performs the conversion.
sourceimpl Hash for BytesError
impl Hash for BytesError
sourceimpl Ord for BytesError
impl Ord for BytesError
sourceimpl PartialEq<BytesError> for BytesError
impl PartialEq<BytesError> for BytesError
sourcefn eq(&self, other: &BytesError) -> bool
fn eq(&self, other: &BytesError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BytesError) -> bool
fn ne(&self, other: &BytesError) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BytesError> for BytesError
impl PartialOrd<BytesError> for BytesError
sourcefn partial_cmp(&self, other: &BytesError) -> Option<Ordering>
fn partial_cmp(&self, other: &BytesError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for BytesError
impl Eq for BytesError
impl StructuralEq for BytesError
impl StructuralPartialEq for BytesError
Auto Trait Implementations
impl RefUnwindSafe for BytesError
impl Send for BytesError
impl Sync for BytesError
impl Unpin for BytesError
impl UnwindSafe for BytesError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more