Struct embassy_net::tcp::TcpWriter
source · pub struct TcpWriter<'a> { /* private fields */ }
Expand description
The writer half of a TCP socket.
Implementations§
Trait Implementations§
source§impl<'d> Write for TcpWriter<'d>
impl<'d> Write for TcpWriter<'d>
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.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TcpWriter<'a>
impl<'a> !Send for TcpWriter<'a>
impl<'a> !Sync for TcpWriter<'a>
impl<'a> Unpin for TcpWriter<'a>
impl<'a> !UnwindSafe for TcpWriter<'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