[−][src]Struct smol::io::ReadToStringFuture
Future for the AsyncReadExt::read_to_string()
method.
Trait Implementations
impl<'a, T> Debug for ReadToStringFuture<'a, T> where
T: Unpin + Debug + ?Sized,
[src]
T: Unpin + Debug + ?Sized,
impl<'_, T> Future for ReadToStringFuture<'_, T> where
T: Unpin + AsyncRead + ?Sized,
[src]
T: Unpin + AsyncRead + ?Sized,
type Output = Result<usize, Error>
The type of value produced on completion.
fn poll(
self: Pin<&mut ReadToStringFuture<'_, T>>,
cx: &mut Context
) -> Poll<<ReadToStringFuture<'_, T> as Future>::Output>
[src]
self: Pin<&mut ReadToStringFuture<'_, T>>,
cx: &mut Context
) -> Poll<<ReadToStringFuture<'_, T> as Future>::Output>
impl<'_, T> Unpin for ReadToStringFuture<'_, T> where
T: Unpin + ?Sized,
[src]
T: Unpin + ?Sized,
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for ReadToStringFuture<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for ReadToStringFuture<'a, T> where
T: Send,
T: Send,
impl<'a, T: ?Sized> Sync for ReadToStringFuture<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> !UnwindSafe for ReadToStringFuture<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T> FutureExt for T where
T: Future + ?Sized,
[src]
T: Future + ?Sized,
fn boxed(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static + Send>>ⓘ where
Self: Send + 'static,
[src]
Self: Send + 'static,
fn boxed_local(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static>>ⓘ where
Self: 'static,
[src]
Self: 'static,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<F, T, E> TryFuture for F where
F: Future<Output = Result<T, E>> + ?Sized,
[src]
F: Future<Output = Result<T, E>> + ?Sized,
type Ok = T
The type of successful values yielded by this future
type Error = E
The type of failures yielded by this future
fn try_poll(self: Pin<&mut F>, cx: &mut Context) -> Poll<<F as Future>::Output>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,