pub struct FleetServerSessions { /* private fields */ }Expand description
One fleet-wide session table from which isolated rustls views are made.
Implementations§
Source§impl FleetServerSessions
impl FleetServerSessions
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
Sourcepub fn storage(&self, domain: SessionDomain) -> Arc<OrbitSessionStorage> ⓘ
pub fn storage(&self, domain: SessionDomain) -> Arc<OrbitSessionStorage> ⓘ
Create a rustls storage view isolated by domain.
Trait Implementations§
Source§impl Clone for FleetServerSessions
impl Clone for FleetServerSessions
Source§fn clone(&self) -> FleetServerSessions
fn clone(&self) -> FleetServerSessions
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 moreAuto Trait Implementations§
impl Freeze for FleetServerSessions
impl RefUnwindSafe for FleetServerSessions
impl Send for FleetServerSessions
impl Sync for FleetServerSessions
impl Unpin for FleetServerSessions
impl UnsafeUnpin for FleetServerSessions
impl UnwindSafe for FleetServerSessions
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