Struct grafix_toolbox::uses::asyn::io::ReadLineFuture [−]
Expand description
Future for the AsyncBufReadExt::read_line() method.
Trait Implementations
impl<'a, R> Debug for ReadLineFuture<'a, R> where
R: Debug + Unpin + ?Sized,
impl<'a, R> Debug for ReadLineFuture<'a, R> where
R: Debug + Unpin + ?Sized, impl<'_, R> Future for ReadLineFuture<'_, R> where
R: AsyncBufRead + Unpin + ?Sized,
impl<'_, R> Future for ReadLineFuture<'_, R> where
R: AsyncBufRead + Unpin + ?Sized, pub fn poll(
self: Pin<&mut ReadLineFuture<'_, R>>,
cx: &mut Context<'_>
) -> Poll<<ReadLineFuture<'_, R> as Future>::Output>
pub fn poll(
self: Pin<&mut ReadLineFuture<'_, R>>,
cx: &mut Context<'_>
) -> Poll<<ReadLineFuture<'_, 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 ReadLineFuture<'_, R> where
R: Unpin + ?Sized, Auto Trait Implementations
impl<'a, R: ?Sized> RefUnwindSafe for ReadLineFuture<'a, R> where
R: RefUnwindSafe, impl<'a, R: ?Sized> Send for ReadLineFuture<'a, R> where
R: Send, impl<'a, R: ?Sized> Sync for ReadLineFuture<'a, R> where
R: Sync, impl<'a, R> !UnwindSafe for ReadLineFuture<'a, R>Blanket Implementations
Mutably borrows from an owned value. Read more
A convenience for calling Future::poll() on !Unpin types.
Returns the result of self or other future, preferring self if both are ready. Read more
Returns the result of self or other future, with no preference if both are ready. Read more
fn catch_unwind(self) -> CatchUnwind<Self>ⓘ where
Self: UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self>ⓘ where
Self: UnwindSafe, Catches panics while polling the future. Read more
Boxes the future and changes its type to dyn Future + Send + 'a. Read more
Boxes the future and changes its type to dyn Future + 'a. Read more
into_future)The output that the future will produce on completion.
type Future = F
type Future = Finto_future)Which kind of future are we turning this into?
into_future)Creates a future from a value.
type Output = T
type Output = TShould always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> boolChecks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SSUse with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SPThe inclusion map: converts self to the equivalent element of its superset.
pub fn vzip(self) -> V