pub enum OpaCacheExpiry {
DoNotCache,
CacheUntil {
expires_at_ms: i128,
},
}Expand description
Result of computing a monotonic cache deadline.
Variants§
Trait Implementations§
Source§impl Clone for OpaCacheExpiry
impl Clone for OpaCacheExpiry
Source§fn clone(&self) -> OpaCacheExpiry
fn clone(&self) -> OpaCacheExpiry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpaCacheExpiry
Source§impl Debug for OpaCacheExpiry
impl Debug for OpaCacheExpiry
impl Eq for OpaCacheExpiry
Source§impl PartialEq for OpaCacheExpiry
impl PartialEq for OpaCacheExpiry
impl StructuralPartialEq for OpaCacheExpiry
Auto Trait Implementations§
impl Freeze for OpaCacheExpiry
impl RefUnwindSafe for OpaCacheExpiry
impl Send for OpaCacheExpiry
impl Sync for OpaCacheExpiry
impl Unpin for OpaCacheExpiry
impl UnsafeUnpin for OpaCacheExpiry
impl UnwindSafe for OpaCacheExpiry
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