pub struct SessionShutdown { /* private fields */ }Expand description
Deferred shutdown work for a session that has already been removed from
the manager. finish() joins the session thread and clears any call
routes the thread registered while shutting down. Callers must release
the SessionManager lock before calling finish(). Joining under the lock
deadlocks: the dispatch thread needs the lock to drain the event channel,
and the joined thread can be parked on a full event channel send.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionShutdown
impl !UnwindSafe for SessionShutdown
impl Freeze for SessionShutdown
impl Send for SessionShutdown
impl Sync for SessionShutdown
impl Unpin for SessionShutdown
impl UnsafeUnpin for SessionShutdown
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