Struct Ready

struct Ready<T>(_)

Future for the ready function.

Implementations

impl<T> Ready<T>

fn into_inner(self: Self) -> T

Unwraps the value from this immediately ready future.

impl<F> IntoFuture for Ready<T>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for Ready<T>

fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for Ready<T>

impl<T> Any for Ready<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Ready<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Ready<T>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Ready<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> Freeze for Ready<T>

impl<T> From for Ready<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FusedFuture for Ready<T>

fn is_terminated(self: &Self) -> bool

impl<T> Future for Ready<T>

fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<T>

impl<T> FutureExt for Ready<T>

impl<T> RefUnwindSafe for Ready<T>

impl<T> Send for Ready<T>

impl<T> Sync for Ready<T>

impl<T> ToOwned for Ready<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> Unpin for Ready<T>

impl<T> UnsafeUnpin for Ready<T>

impl<T> UnwindSafe for Ready<T>

impl<T, U> Into for Ready<T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Ready<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Ready<T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: $crate::clone::Clone> Clone for Ready<T>

fn clone(self: &Self) -> Ready<T>

impl<T: $crate::fmt::Debug> Debug for Ready<T>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result