pub enum InstantTransformError {
EncodeBufferTooSmall,
NotEnoughBytes,
InvalidSystemTime(SystemTimeError),
}
Available on crate feature
std
only.Expand description
Error returned by Instant
when transforming.
Variants§
EncodeBufferTooSmall
The buffer is too small to encode the value.
NotEnoughBytes
NotEnoughBytes binary data.
InvalidSystemTime(SystemTimeError)
Invalid system time.
Trait Implementations§
source§impl Clone for InstantTransformError
impl Clone for InstantTransformError
source§fn clone(&self) -> InstantTransformError
fn clone(&self) -> InstantTransformError
Returns a copy 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 InstantTransformError
impl Debug for InstantTransformError
source§impl Display for InstantTransformError
impl Display for InstantTransformError
source§impl Error for InstantTransformError
impl Error for InstantTransformError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for InstantTransformError
impl RefUnwindSafe for InstantTransformError
impl Send for InstantTransformError
impl Sync for InstantTransformError
impl Unpin for InstantTransformError
impl UnwindSafe for InstantTransformError
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