Skip to main content

SessionOver

Type Alias SessionOver 

Source
pub type SessionOver = Receiver<bool>;
Expand description

The session is over, as a value every transfer on it can watch.

The crate::server connection handler owns the sender and sets it from Drop — and russh drops the handler on EVERY way a session ends: the client hung up, its keepalives went unanswered, the inactivity bound, a protocol error, the server’s own shutdown.

Aliased Type§

pub struct SessionOver { /* private fields */ }