pub enum TimeValue {
Zero,
NonZero(NonZeroTimeValue),
}
Expand description
A representation of time values for lifetimes to relay the fact that certain values have special significance as described in RFC 8415, section 14.2 and section 7.7.
Variants§
Implementations§
Trait Implementations§
Source§impl From<NonZeroTimeValue> for TimeValue
impl From<NonZeroTimeValue> for TimeValue
Source§fn from(v: NonZeroTimeValue) -> TimeValue
fn from(v: NonZeroTimeValue) -> TimeValue
Converts to this type from the input type.
Source§impl Ord for TimeValue
impl Ord for TimeValue
Source§impl PartialOrd for TimeValue
impl PartialOrd for TimeValue
impl Copy for TimeValue
impl Eq for TimeValue
impl StructuralPartialEq for TimeValue
Auto Trait Implementations§
impl Freeze for TimeValue
impl RefUnwindSafe for TimeValue
impl Send for TimeValue
impl Sync for TimeValue
impl Unpin for TimeValue
impl UnwindSafe for TimeValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)