Struct Any

struct Any<St, Fut, F> { ... }

Future for the any method.

Implementations

impl<'__pin, St, Fut, F> Unpin for Any<St, Fut, F>

impl<F> IntoFuture for Any<St, Fut, F>

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

impl<St, Fut, F> Debug for Any<St, Fut, F>

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

impl<St, Fut, F> Freeze for Any<St, Fut, F>

impl<St, Fut, F> FusedFuture for Any<St, Fut, F>

fn is_terminated(self: &Self) -> bool

impl<St, Fut, F> Future for Any<St, Fut, F>

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

impl<St, Fut, F> RefUnwindSafe for Any<St, Fut, F>

impl<St, Fut, F> Send for Any<St, Fut, F>

impl<St, Fut, F> Sync for Any<St, Fut, F>

impl<St, Fut, F> UnsafeUnpin for Any<St, Fut, F>

impl<St, Fut, F> UnwindSafe for Any<St, Fut, F>

impl<T> Any for Any<St, Fut, F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Any<St, Fut, F>

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

impl<T> BorrowMut for Any<St, Fut, F>

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

impl<T> From for Any<St, Fut, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for Any<St, Fut, F>

impl<T, U> Into for Any<St, Fut, F>

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 Any<St, Fut, F>

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

impl<T, U> TryInto for Any<St, Fut, F>

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