pub struct LiveSession { /* private fields */ }Available on crate feature
connect-server only.Expand description
One open S2 WebSocket session, as the endpoint tracks it.
Returned by SessionService::register_session; the session is tracked for as long
as this lives. ended resolves when the pairing is undone —
S2C §Termination: “After two nodes have unpaired, the S2 WebSocket connection
MUST be terminated immediately.”
Implementations§
Trait Implementations§
Source§impl Debug for LiveSession
impl Debug for LiveSession
Source§impl Drop for LiveSession
impl Drop for LiveSession
Auto Trait Implementations§
impl !RefUnwindSafe for LiveSession
impl !UnwindSafe for LiveSession
impl Forget for LiveSession
impl Freeze for LiveSession
impl Move for LiveSession
impl Send for LiveSession
impl Sync for LiveSession
impl Unpin for LiveSession
impl UnsafeUnpin for LiveSession
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