pub trait AsyncWriteVec {
// Required method
fn poll_write_vec<B>(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
_buf: &mut B,
) -> Poll<Result<usize, Error>>
where B: Buf;
// Provided methods
fn write_vec<'a, B>(&'a mut self, src: &'a mut B) -> WriteVec<'a, Self, B> ⓘ
where Self: Sized,
B: Buf { ... }
fn write_vec_all<'a, B>(
&'a mut self,
src: &'a mut B,
) -> WriteVecAll<'a, Self, B> ⓘ
where Self: Sized,
B: Buf { ... }
}Required Methods§
fn poll_write_vec<B>(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
_buf: &mut B,
) -> Poll<Result<usize, Error>>where
B: Buf,
Provided Methods§
fn write_vec<'a, B>(&'a mut self, src: &'a mut B) -> WriteVec<'a, Self, B> ⓘ
fn write_vec_all<'a, B>( &'a mut self, src: &'a mut B, ) -> WriteVecAll<'a, Self, B> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.