pub struct PipeWrite { /* private fields */ }Implementations§
Trait Implementations§
Source§impl WriteOwned for PipeWrite
impl WriteOwned for PipeWrite
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 PipeWrite
impl RefUnwindSafe for PipeWrite
impl !Send for PipeWrite
impl !Sync for PipeWrite
impl Unpin for PipeWrite
impl UnwindSafe for PipeWrite
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