pub struct FleetClientSessions { /* private fields */ }Expand description
One fleet-wide rustls 0.24 client-session table.
rustls 0.24 supplies a security-context hash and stable persistence codec
for client sessions. Earlier rustls lines do not expose that codec, so this
adapter is intentionally available only with rustls_0_24.
Implementations§
Source§impl FleetClientSessions
impl FleetClientSessions
pub fn open(fleet: Arc<Fleet>) -> Result<Self>
pub fn with_ttl(fleet: Arc<Fleet>, ttl: Duration) -> Result<Self>
pub fn set_ttl(&self, ttl: Duration) -> Result<()>
pub fn ttl(&self) -> Duration
pub fn storage( &self, provider: Arc<CryptoProvider>, ) -> Arc<OrbitClientSessionStorage> ⓘ
pub fn reset(&self) -> Result<()>
pub fn unlink(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for FleetClientSessions
impl Clone for FleetClientSessions
Auto Trait Implementations§
impl !RefUnwindSafe for FleetClientSessions
impl !UnwindSafe for FleetClientSessions
impl Freeze for FleetClientSessions
impl Send for FleetClientSessions
impl Sync for FleetClientSessions
impl Unpin for FleetClientSessions
impl UnsafeUnpin for FleetClientSessions
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