pub struct TcpWriteStream<'a> { /* private fields */ }
Expand description
A borrowed write half of a TCP stream
Implementations§
Trait Implementations§
Source§impl<'a> ErrorType for TcpWriteStream<'a>
impl<'a> ErrorType for TcpWriteStream<'a>
Source§impl<'a> Write for TcpWriteStream<'a>
impl<'a> Write for TcpWriteStream<'a>
Source§async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Auto Trait Implementations§
impl<'a> Freeze for TcpWriteStream<'a>
impl<'a> RefUnwindSafe for TcpWriteStream<'a>
impl<'a> Send for TcpWriteStream<'a>
impl<'a> Sync for TcpWriteStream<'a>
impl<'a> Unpin for TcpWriteStream<'a>
impl<'a> UnwindSafe for TcpWriteStream<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more