pub enum TimeStampError {
Io(Error),
Reqwest(Error),
Asn1Decode(DecodeError<Infallible>),
Http(&'static str),
Random,
NonceMismatch,
Unsuccessful(TimeStampResp),
BadResponse,
}
Variants§
Io(Error)
Reqwest(Error)
Asn1Decode(DecodeError<Infallible>)
Http(&'static str)
Random
NonceMismatch
Unsuccessful(TimeStampResp)
BadResponse
Trait Implementations§
Source§impl Debug for TimeStampError
impl Debug for TimeStampError
Source§impl Display for TimeStampError
impl Display for TimeStampError
Source§impl Error for TimeStampError
impl Error for TimeStampError
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<DecodeError<Infallible>> for TimeStampError
impl From<DecodeError<Infallible>> for TimeStampError
Source§fn from(e: DecodeError<Infallible>) -> Self
fn from(e: DecodeError<Infallible>) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TimeStampError
impl From<Error> for TimeStampError
Source§impl From<Error> for TimeStampError
impl From<Error> for TimeStampError
Source§impl From<TimeStampError> for CmsError
impl From<TimeStampError> for CmsError
Source§fn from(e: TimeStampError) -> Self
fn from(e: TimeStampError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TimeStampError
impl !RefUnwindSafe for TimeStampError
impl Send for TimeStampError
impl Sync for TimeStampError
impl Unpin for TimeStampError
impl !UnwindSafe for TimeStampError
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