agde_web

Enum Sleep

source
pub enum Sleep {
    Timeout(TimeoutFuture),
    Forever,
}

Variants§

§

Timeout(TimeoutFuture)

§

Forever

Trait Implementations§

source§

impl Future for Sleep

source§

type Output = ()

The type of value produced on completion.
source§

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

Attempts to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
source§

impl Send for