Skip to main content

ended

Function ended 

Source
pub(super) fn ended(
    conn: &str,
    dest: &str,
    raw_exit_code: Option<u32>,
    stopped_by_srv: bool,
) -> Option<String>
Expand description

An SSH pane’s ssh (to dest, on connection conn) ended with raw_exit_code. Tells the connection, and returns the line the pane shows when it stays because the connection is gone. stopped_by_srv: srv ended it itself (stop() and stop_for_replace() set the status before they signal the process).