pub struct SystemTimeDecodeError {
pub timestamp: i64,
}Available on crate feature
std only.Expand description
The SystemTime type could not represent a UNIX timestamp.
Note that a UNIX timestamp is here defined as a signed, 64-bit integer denoting a difference of time to 1 january 1970, as measured in Greenwich using seconds. This error should therefore not occur on systems that use the same or a more precise counter.
Fields§
§timestamp: i64The unrepresentable timestamp.
Trait Implementations§
Source§impl Debug for SystemTimeDecodeError
impl Debug for SystemTimeDecodeError
Source§impl Display for SystemTimeDecodeError
impl Display for SystemTimeDecodeError
Source§impl Error for SystemTimeDecodeError
impl Error for SystemTimeDecodeError
1.30.0 · 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<SystemTimeDecodeError> for GenericDecodeError
impl From<SystemTimeDecodeError> for GenericDecodeError
Source§fn from(value: SystemTimeDecodeError) -> Self
fn from(value: SystemTimeDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SystemTimeDecodeError
impl RefUnwindSafe for SystemTimeDecodeError
impl Send for SystemTimeDecodeError
impl Sync for SystemTimeDecodeError
impl Unpin for SystemTimeDecodeError
impl UnwindSafe for SystemTimeDecodeError
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