pub struct BorrowedWriteHalf<'s, 'sel, const FDS: usize> { /* private fields */ }Expand description
Write half of a TCP/Unix stream.
Implementations§
Source§impl<'s, 'sel, const FDS: usize> BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> BorrowedWriteHalf<'s, 'sel, FDS>
Sourcepub async fn writable(&mut self)
pub async fn writable(&mut self)
Waits until the stream is writable.
The stream may still turn out to be not writable, so try_write
can return Errno::AGAIN after it.
§Cancel safety
This method is cancel safe.
Trait Implementations§
Auto Trait Implementations§
impl<'s, 'sel, const FDS: usize> !RefUnwindSafe for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> !Send for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> !Sync for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> !UnwindSafe for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> Forget for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> Freeze for BorrowedWriteHalf<'s, 'sel, FDS>where
&'s Socket<'sel, FDS>: Freeze,
impl<'s, 'sel, const FDS: usize> Move for BorrowedWriteHalf<'s, 'sel, FDS>
impl<'s, 'sel, const FDS: usize> Unpin for BorrowedWriteHalf<'s, 'sel, FDS>where
&'s Socket<'sel, FDS>: Unpin,
impl<'s, 'sel, const FDS: usize> UnsafeUnpin for BorrowedWriteHalf<'s, 'sel, FDS>where
&'s Socket<'sel, FDS>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> AsyncWriteExt for Twhere
T: AsyncWrite + ?Sized,
impl<T> AsyncWriteExt for Twhere
T: AsyncWrite + ?Sized,
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