pub type SessionClose = Arc<dyn Fn(u32, &[u8]) + Send + Sync>;
Closes the underlying crate::SessionStreams connection.
crate::SessionStreams
pub struct SessionClose { /* private fields */ }