pub struct ChanWrite { /* private fields */ }Implementations§
Trait Implementations§
Source§impl WriteOwned for ChanWrite
impl WriteOwned for ChanWrite
Source§async fn write<B: IoBuf>(&mut self, buf: B) -> BufResult<usize, B>
async fn write<B: IoBuf>(&mut self, buf: B) -> BufResult<usize, B>
Write a single buffer, taking ownership for the duration of the write.
Might perform a partial write, see WriteOwned::write_all
Source§async fn write_all<B: IoBuf>(&mut self, buf: B) -> Result<()>
async fn write_all<B: IoBuf>(&mut self, buf: B) -> Result<()>
Write a single buffer, re-trying the write if the kernel does a partial write.
Auto Trait Implementations§
impl Freeze for ChanWrite
impl RefUnwindSafe for ChanWrite
impl Send for ChanWrite
impl Sync for ChanWrite
impl Unpin for ChanWrite
impl UnwindSafe for ChanWrite
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