Struct grafix_toolbox::uses::asyn::io::ReadToStringFuture
Expand description
Future for the AsyncReadExt::read_to_string() method.
Trait Implementations
impl<'a, R> Debug for ReadToStringFuture<'a, R>where
R: Debug + Unpin + ?Sized,
impl<'a, R> Debug for ReadToStringFuture<'a, R>where
R: Debug + Unpin + ?Sized,
impl<R> Future for ReadToStringFuture<'_, R>where
R: AsyncRead + Unpin + ?Sized,
impl<R> Future for ReadToStringFuture<'_, R>where
R: AsyncRead + Unpin + ?Sized,
fn poll(
self: Pin<&mut ReadToStringFuture<'_, R>>,
cx: &mut Context<'_>
) -> Poll<<ReadToStringFuture<'_, R> as Future>::Output>
fn poll(
self: Pin<&mut ReadToStringFuture<'_, R>>,
cx: &mut Context<'_>
) -> Poll<<ReadToStringFuture<'_, R> as Future>::Output>
Attempt to resolve the future to a final value, registering
the current task for wakeup if the value is not yet available. Read more
impl<R> Unpin for ReadToStringFuture<'_, R>where
R: Unpin + ?Sized,
Auto Trait Implementations
impl<'a, R: ?Sized> RefUnwindSafe for ReadToStringFuture<'a, R>where
R: RefUnwindSafe,
impl<'a, R: ?Sized> Send for ReadToStringFuture<'a, R>where
R: Send,
impl<'a, R: ?Sized> Sync for ReadToStringFuture<'a, R>where
R: Sync,
impl<'a, R> !UnwindSafe for ReadToStringFuture<'a, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F> FutureExt for Fwhere
F: Future + ?Sized,
impl<F> FutureExt for Fwhere
F: Future + ?Sized,
fn or<F>(self, other: F) -> Or<Self, F>ⓘNotable traits for Or<F1, F2>impl<T, F1, F2> Future for Or<F1, F2>where
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;where
Self: Sized,
F: Future<Output = Self::Output>,
fn or<F>(self, other: F) -> Or<Self, F>ⓘNotable traits for Or<F1, F2>impl<T, F1, F2> Future for Or<F1, F2>where
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;where
Self: Sized,
F: Future<Output = Self::Output>,
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;
fn race<F>(self, other: F) -> Race<Self, F>ⓘNotable traits for Race<F1, F2>impl<T, F1, F2> Future for Race<F1, F2>where
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;where
Self: Sized,
F: Future<Output = Self::Output>,
fn race<F>(self, other: F) -> Race<Self, F>ⓘNotable traits for Race<F1, F2>impl<T, F1, F2> Future for Race<F1, F2>where
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;where
Self: Sized,
F: Future<Output = Self::Output>,
F1: Future<Output = T>,
F2: Future<Output = T>, type Output = T;
fn catch_unwind(self) -> CatchUnwind<Self>ⓘNotable traits for CatchUnwind<F>impl<F> Future for CatchUnwind<F>where
F: Future + UnwindSafe, type Output = Result<<F as Future>::Output, Box<dyn Any + Send + 'static, Global>>;where
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self>ⓘNotable traits for CatchUnwind<F>impl<F> Future for CatchUnwind<F>where
F: Future + UnwindSafe, type Output = Result<<F as Future>::Output, Box<dyn Any + Send + 'static, Global>>;where
Self: Sized + UnwindSafe,
F: Future + UnwindSafe, type Output = Result<<F as Future>::Output, Box<dyn Any + Send + 'static, Global>>;
Catches panics while polling the future. Read more
sourceimpl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.