Trait Command

Source
pub trait Command {
    // Required method
    fn build<'session>(&self, session: &'session Session) -> Command<'session>;
}
Expand description

A command should be able to build itself into an openssh::Command, given an openssh::Session.

Required Methods§

Source

fn build<'session>(&self, session: &'session Session) -> Command<'session>

Build the command.

Implementors§