Struct Lazy
struct Lazy<F> { ... }
Future for the lazy function.
Implementations
impl<F> Freeze for Lazy<F>
impl<F> IntoFuture for Lazy<F>
fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture
impl<F> RefUnwindSafe for Lazy<F>
impl<F> Send for Lazy<F>
impl<F> Sync for Lazy<F>
impl<F> Unpin for Lazy<F>
impl<F> UnsafeUnpin for Lazy<F>
impl<F> UnwindSafe for Lazy<F>
impl<F, R> FusedFuture for Lazy<F>
fn is_terminated(self: &Self) -> bool
impl<F, R> Future for Lazy<F>
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<R>
impl<F, T, E> TryFuture for Lazy<F>
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>
impl<F: $crate::fmt::Debug> Debug for Lazy<F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<Fut> TryFutureExt for Lazy<F>
impl<T> Any for Lazy<F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Lazy<F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Lazy<F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Lazy<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for Lazy<F>
impl<T, U> Into for Lazy<F>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Lazy<F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Lazy<F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>