pub enum SystemTimeTransformError {
EncodeBufferTooSmall,
NotEnoughBytes,
InvalidSystemTime(SystemTimeError),
}Available on crate feature
std only.Expand description
Error returned by SystemTime 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 SystemTimeTransformError
impl Clone for SystemTimeTransformError
source§fn clone(&self) -> SystemTimeTransformError
fn clone(&self) -> SystemTimeTransformError
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 SystemTimeTransformError
impl Debug for SystemTimeTransformError
source§impl Display for SystemTimeTransformError
impl Display for SystemTimeTransformError
source§impl Error for SystemTimeTransformError
impl Error for SystemTimeTransformError
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 SystemTimeTransformError
impl RefUnwindSafe for SystemTimeTransformError
impl Send for SystemTimeTransformError
impl Sync for SystemTimeTransformError
impl Unpin for SystemTimeTransformError
impl UnwindSafe for SystemTimeTransformError
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