pub struct Retrieved<T> {
pub value: T,
/* private fields */
}
Fields§
§value: T
Implementations§
source§impl Retrieved<&Tls13ClientSessionValue>
impl Retrieved<&Tls13ClientSessionValue>
pub fn obfuscated_ticket_age(&self) -> u32
source§impl Retrieved<ClientSessionValue>
impl Retrieved<ClientSessionValue>
pub fn tls13(&self) -> Option<Retrieved<&Tls13ClientSessionValue>>
pub fn has_expired(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
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