Skip to main content

connection_lost

Function connection_lost 

Source
pub fn connection_lost(code: u32) -> bool
Expand description

Whether ssh ending with code means it had no connection, or lost it, rather than that the remote shell ended (exit included). A session on a shared connection that was closed or died ends this way too.