Searched refs:ReadToString (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/tokio/src/io/util/ |
D | read_to_string.rs | 17 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
|
D | async_read_ext.rs | 12 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/ |
D | read_to_string.rs | 13 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
|
D | mod.rs | 114 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/ |
D | auto_traits.rs | 775 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);
|