Struct web::EventHandlerFuture
source · pub struct EventHandlerFuture<T> { /* private fields */ }
Implementations§
source§impl<T> EventHandlerFuture<T>where
T: 'static + Sync + Send,
impl<T> EventHandlerFuture<T>where
T: 'static + Sync + Send,
pub fn create_future_with_state_id() -> (Self, StateId)
pub fn wake_future_with_state_id(id: StateId, result: T)
Trait Implementations§
source§impl<T> Future for EventHandlerFuture<T>
impl<T> Future for EventHandlerFuture<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for EventHandlerFuture<T>
impl<T> Send for EventHandlerFuture<T>where
T: Send,
impl<T> Sync for EventHandlerFuture<T>where
T: Send,
impl<T> Unpin for EventHandlerFuture<T>
impl<T> UnwindSafe for EventHandlerFuture<T>
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more