Struct thrussh_client::SSHClient [] [src]

pub struct SSHClient<'b> {
    pub connection: Connection,
    // some fields omitted
}

Fields

connection: Connection

Methods

impl<'b> SSHClient<'b>
[src]

fn new(host: &'b str, port: u16) -> Result<Self, Error>

fn authenticate(&mut self) -> Result<boolError>

fn wait_channel_open<C: Handler>(&mut self, c: &mut C, channel: u32) -> Result<()Error>

fn wait_channel_close<C: Handler>(&mut self, c: &mut C, channel: u32) -> Result<()Error>

fn session(&mut self) -> &mut Session

fn run_until<R: Handler, F: Fn(&mut R) -> bool>(&mut self, client: &mut R, until: F) -> Result<()Error>