Struct yulid::BytesError
source · pub struct BytesError { /* private fields */ }
Expand description
The error that can occur when creating a Ulid
.
Implementations
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 moresourceimpl Debug for BytesError
impl Debug for BytesError
sourceimpl Display for BytesError
impl Display for BytesError
sourceimpl Error for BytesError
impl Error for BytesError
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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl Hash for BytesError
impl Hash for BytesError
sourceimpl Ord for BytesError
impl Ord for BytesError
sourcefn cmp(&self, other: &BytesError) -> Ordering
fn cmp(&self, other: &BytesError) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BytesError> for BytesError
impl PartialEq<BytesError> for BytesError
sourcefn eq(&self, other: &BytesError) -> bool
fn eq(&self, other: &BytesError) -> bool
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more