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
Expired(Duration)The object is expired
The 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 TimeValidityErrorimpl Send for TimeValidityErrorimpl Sync for TimeValidityErrorimpl Unpin for TimeValidityErrorimpl UnwindSafe for TimeValidityErrorBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V