Trait thrussh::Tcp [−][src]
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.
Implementations on Foreign Types
impl Tcp for TcpStream
[src]
impl Tcp for TcpStream
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>
impl<T: ?Sized + Tcp> Tcp for Box<T>
[src]
impl<T: ?Sized + Tcp> Tcp for Box<T>
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>
impl<'a, T: ?Sized + Tcp> Tcp for &'a mut T
[src]
impl<'a, T: ?Sized + Tcp> Tcp for &'a mut T
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>
impl<'a> Tcp for Cursor<&'a mut [u8]>
[src]
impl<'a> Tcp for Cursor<&'a mut [u8]>
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>
impl Tcp for Cursor<Vec<u8>>
[src]
impl Tcp for Cursor<Vec<u8>>
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>
impl Tcp for Cursor<Box<[u8]>>
[src]
impl Tcp for Cursor<Box<[u8]>>
fn tcp_shutdown(&mut self) -> Result<(), Error>
[src]
fn tcp_shutdown(&mut self) -> Result<(), Error>