fn run<A, H>(config: Config<Self, A>, handler: H)
    where
        A: Acceptor<Self::Transport>,
        H: Handler,
    {
        Self::block_on(Self::run_async(config, handler))
    }
/// Run a trillium application from a sync context
Run a trillium application from a sync context
Run a trillium application from a sync context
fn run<A, H>(config: Config<Self, A>, handler: H)
    where
        A: Acceptor<Self::Transport>,
        H: Handler,
    {
        Self::block_on(Self::run_async(config, handler))
    }
fn run < A , H > ( config : Config < Self , A > , handler : H ) where A : Acceptor < Self :: Transport > , H : Handler , { Self :: block_on ( Self :: run_async ( config , handler ) ) }
Run a trillium application from a sync context
Run a trillium application from a sync context
config
Config<Self, A>
handler
H
config
Config<Self, A>
handler
H