Struct ssh2::Listener
[−]
[src]
pub struct Listener<'sess> { /* fields omitted */ }
A listener represents a forwarding port from the remote server.
New channels can be accepted from a listener which represent connections on the remote server's port.
Methods
impl<'sess> Listener<'sess>
[src]
pub fn accept(&mut self) -> Result<Channel<'sess>, Error>
[src]
Accept a queued connection from this listener.