Trait thrussh::Server [] [src]

pub trait Server {
    fn new_channel(&mut self, channel: &ChannelParameters);

    fn data(&mut self, _: &[u8], _: ChannelBuf) -> Result<()Error> { ... }
    fn exec(&mut self, _: &[u8], _: ChannelBuf) -> Result<()Error> { ... }
}

Required Methods

fn new_channel(&mut self, channel: &ChannelParameters)

Provided Methods

fn data(&mut self, _: &[u8], _: ChannelBuf) -> Result<()Error>

fn exec(&mut self, _: &[u8], _: ChannelBuf) -> Result<()Error>

Implementors