pub struct Sessions { /* private fields */ }Available on crate feature
rpc only.Expand description
Sessions, each at an address, answered by one Router.
A backend hands it each connect, send and poll, and decides when an address’s sessions end.
Session ids count up to JavaScript’s 253 - 1 (9 quadrillion). After
that many connects, ids stop changing, and each new session replaces the last. At a million
connects a second, that’s about 285 years.
Implementations§
Source§impl Sessions
impl Sessions
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Sessions
impl !RefUnwindSafe for Sessions
impl Send for Sessions
impl Sync for Sessions
impl Unpin for Sessions
impl UnsafeUnpin for Sessions
impl !UnwindSafe for Sessions
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