Enum tor_checkable::TimeValidityError [−][src]
#[non_exhaustive]
pub enum TimeValidityError {
NotYetValid(Duration),
Expired(Duration),
Unspecified,
}Expand description
An error that can occur when checking whether a Timebound object is currently valid.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotYetValid(Duration)The object is not yet valid
Tuple Fields of NotYetValid
0: DurationExpired(Duration)The object is expired
Tuple Fields of Expired
0: DurationThe object isn’t timely, and we don’t know why, or won’t say.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TimeValidityError
impl Send for TimeValidityError
impl Sync for TimeValidityError
impl Unpin for TimeValidityError
impl UnwindSafe for TimeValidityError
Blanket Implementations
Mutably borrows from an owned value. Read more