pub struct Retrieved<T> {
pub value: T,
retrieved_at: TimeBase,
}
Fields§
§value: T
§retrieved_at: TimeBase
Implementations§
source§impl Retrieved<&Tls13ClientSessionValue>
impl Retrieved<&Tls13ClientSessionValue>
pub fn obfuscated_ticket_age(&self) -> u32
source§impl<T: Deref<Target = ClientSessionCommon>> Retrieved<T>
impl<T: Deref<Target = ClientSessionCommon>> Retrieved<T>
pub fn has_expired(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Retrieved<T>where
T: Freeze,
impl<T> RefUnwindSafe for Retrieved<T>where
T: RefUnwindSafe,
impl<T> Send for Retrieved<T>where
T: Send,
impl<T> Sync for Retrieved<T>where
T: Sync,
impl<T> Unpin for Retrieved<T>where
T: Unpin,
impl<T> UnwindSafe for Retrieved<T>where
T: UnwindSafe,
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