pub enum UuidConstructionError {
IntegerConversion(TryFromIntError),
TimestampBeforeEpoch,
TimestampOverflow,
}
Variants§
Trait Implementations§
Source§impl Clone for UuidConstructionError
impl Clone for UuidConstructionError
Source§fn clone(&self) -> UuidConstructionError
fn clone(&self) -> UuidConstructionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UuidConstructionError
impl Debug for UuidConstructionError
Source§impl Display for UuidConstructionError
impl Display for UuidConstructionError
Source§impl Error for UuidConstructionError
impl Error for UuidConstructionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DurationToTicksError> for UuidConstructionError
impl From<DurationToTicksError> for UuidConstructionError
Source§fn from(_: DurationToTicksError) -> Self
fn from(_: DurationToTicksError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for UuidConstructionError
impl From<TryFromIntError> for UuidConstructionError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UuidConstructionError
impl PartialEq for UuidConstructionError
impl Copy for UuidConstructionError
impl Eq for UuidConstructionError
impl StructuralPartialEq for UuidConstructionError
Auto Trait Implementations§
impl Freeze for UuidConstructionError
impl RefUnwindSafe for UuidConstructionError
impl Send for UuidConstructionError
impl Sync for UuidConstructionError
impl Unpin for UuidConstructionError
impl UnwindSafe for UuidConstructionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more