Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/io/util/
Dread_to_string.rs17 pub struct ReadToString<'a, R: ?Sized> {
36 ) -> ReadToString<'a, R> in read_to_string()
41 ReadToString { in read_to_string()
67 impl<A> Future for ReadToString<'_, A> implementation
Dasync_read_ext.rs12 use crate::io::util::read_to_string::{read_to_string, ReadToString};
1068 fn read_to_string<'a>(&'a mut self, dst: &'a mut String) -> ReadToString<'a, Self>
/external/rust/crates/futures-util/src/io/
Dread_to_string.rs13 pub struct ReadToString<'a, R: ?Sized> { struct
20 impl<R: ?Sized + Unpin> Unpin for ReadToString<'_, R> {} argument
22 impl<'a, R: AsyncRead + ?Sized + Unpin> ReadToString<'a, R> { impl
57 impl<A> Future for ReadToString<'_, A> implementation
Dmod.rs114 pub use self::read_to_string::ReadToString;
321 ) -> ReadToString<'a, Self> in read_to_string()
324 assert_future::<Result<usize>, _>(ReadToString::new(self, buf)) in read_to_string()
/external/rust/crates/futures/tests/
Dauto_traits.rs775 assert_impl!(ReadToString<'_, ()>: Send);
776 assert_not_impl!(ReadToString<'_, *const ()>: Send);
777 assert_impl!(ReadToString<'_, ()>: Sync);
778 assert_not_impl!(ReadToString<'_, *const ()>: Sync);
779 assert_impl!(ReadToString<'_, ()>: Unpin);
780 assert_not_impl!(ReadToString<'_, PhantomPinned>: Unpin);