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
Auto Trait Implementations§
impl !RefUnwindSafe for FleetServerSessions
impl !UnwindSafe for FleetServerSessions
impl Freeze for FleetServerSessions
impl Send for FleetServerSessions
impl Sync for FleetServerSessions
impl Unpin for FleetServerSessions
impl UnsafeUnpin 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