logo
pub trait EventLoopAsync {
    type Event: 'static;

    fn run_async<Fn, Fu>(self, event_handler: Fn) -> !
    where
        Fn: 'static + FnOnce(EventLoopRunnerAsync<Self::Event>) -> Fu,
        Fu: Future<Output = ()>
; }
Expand description

Defines the behavior for running an application in asynchronous mode.

Required Associated Types

Required Methods

Implementors