[][src]Trait thrussh::Tcp

pub trait Tcp {
    fn tcp_shutdown(&mut self) -> Result<(), Error> { ... }
}

Types that have a "TCP shutdown" operation.

Provided methods

fn tcp_shutdown(&mut self) -> Result<(), Error>

Shutdown the TCP connection cleanly.

Loading content...

Implementations on Foreign Types

impl Tcp for TcpStream[src]

impl<T: ?Sized + Tcp> Tcp for Box<T>[src]

impl<'a, T: ?Sized + Tcp> Tcp for &'a mut T[src]

impl<'a> Tcp for Cursor<&'a mut [u8]>[src]

impl Tcp for Cursor<Vec<u8>>[src]

impl Tcp for Cursor<Box<[u8]>>[src]

Loading content...

Implementors

impl Tcp for Stream[src]

Loading content...