Home
last modified time | relevance | path

Searched refs:WriteVectored (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/futures-util/src/io/
Dwrite_vectored.rs10 pub struct WriteVectored<'a, W: ?Sized> { struct
15 impl<W: ?Sized + Unpin> Unpin for WriteVectored<'_, W> {} argument
17 impl<'a, W: AsyncWrite + ?Sized + Unpin> WriteVectored<'a, W> { implementation
23 impl<W: AsyncWrite + ?Sized + Unpin> Future for WriteVectored<'_, W> { implementation
Dmod.rs141 pub use self::write_vectored::WriteVectored;
457 fn write_vectored<'a>(&'a mut self, bufs: &'a [IoSlice<'a>]) -> WriteVectored<'a, Self> in write_vectored()
460 assert_future::<Result<usize>, _>(WriteVectored::new(self, bufs)) in write_vectored()
/external/rust/crates/tokio/src/io/util/
Dwrite_vectored.rs14 pub struct WriteVectored<'a, 'b, W: ?Sized> {
26 ) -> WriteVectored<'a, 'b, W> in write_vectored()
30 WriteVectored { in write_vectored()
37 impl<W> Future for WriteVectored<'_, '_, W> implementation
Dasync_write_ext.rs14 use crate::io::util::write_vectored::{write_vectored, WriteVectored};
155 … fn write_vectored<'a, 'b>(&'a mut self, bufs: &'a [IoSlice<'b>]) -> WriteVectored<'a, 'b, Self>
/external/rust/crates/futures/tests/
Dauto_traits.rs865 assert_impl!(WriteVectored<'_, ()>: Send);
866 assert_not_impl!(WriteVectored<'_, *const ()>: Send);
867 assert_impl!(WriteVectored<'_, ()>: Sync);
868 assert_not_impl!(WriteVectored<'_, *const ()>: Sync);
869 assert_impl!(WriteVectored<'_, ()>: Unpin);
870 assert_not_impl!(WriteVectored<'_, PhantomPinned>: Unpin);