Struct OkInto

struct OkInto<Fut, E> { ... }

Future for the ok_into method.

Implementations

impl<'__pin, Fut, E> Unpin for OkInto<Fut, E>

impl<F> IntoFuture for OkInto<Fut, E>

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

impl<F, T, E> TryFuture for OkInto<Fut, E>

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

impl<Fut> TryFutureExt for OkInto<Fut, E>

impl<Fut, E> Debug for OkInto<Fut, E>

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

impl<Fut, E> Freeze for OkInto<Fut, E>

impl<Fut, E> FusedFuture for OkInto<Fut, E>

fn is_terminated(self: &Self) -> bool

impl<Fut, E> Future for OkInto<Fut, E>

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>

impl<Fut, E> RefUnwindSafe for OkInto<Fut, E>

impl<Fut, E> Send for OkInto<Fut, E>

impl<Fut, E> Sync for OkInto<Fut, E>

impl<Fut, E> UnsafeUnpin for OkInto<Fut, E>

impl<Fut, E> UnwindSafe for OkInto<Fut, E>

impl<T> Any for OkInto<Fut, E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for OkInto<Fut, E>

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

impl<T> BorrowMut for OkInto<Fut, E>

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

impl<T> From for OkInto<Fut, E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for OkInto<Fut, E>

impl<T, U> Into for OkInto<Fut, E>

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 OkInto<Fut, E>

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

impl<T, U> TryInto for OkInto<Fut, E>

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