pub struct TcpWriteHalf(/* private fields */);Trait Implementations§
Source§impl WriteOwned for TcpWriteHalf
impl WriteOwned for TcpWriteHalf
Source§async fn write_owned(
&mut self,
buf: impl Into<Piece>,
) -> BufResult<usize, Piece>
async fn write_owned( &mut self, buf: impl Into<Piece>, ) -> BufResult<usize, Piece>
Write a single buffer, taking ownership for the duration of the write.
Might perform a partial write, see [WriteOwned::write_all]
Source§async fn shutdown(&mut self) -> Result<()>
async fn shutdown(&mut self) -> Result<()>
Shuts down the write end of this socket. This flushes
any data that may not have been send.
Source§async fn write_all_owned(&mut self, buf: impl Into<Piece>) -> Result<()>
async fn write_all_owned(&mut self, buf: impl Into<Piece>) -> Result<()>
Write a single buffer, re-trying the write if the kernel does a partial write.
Auto Trait Implementations§
impl Freeze for TcpWriteHalf
impl RefUnwindSafe for TcpWriteHalf
impl !Send for TcpWriteHalf
impl !Sync for TcpWriteHalf
impl Unpin for TcpWriteHalf
impl UnwindSafe for TcpWriteHalf
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