Trait thrussh::Tcp[][src]

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

Types that have a "TCP shutdown" operation.

Provided Methods

Shutdown the TCP connection cleanly.

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]

Implementors