Skip to main content

Run

Trait Run 

Source
pub trait Run<L> {
    type Output;

    // Required method
    fn run(self, listener: L) -> Self::Output;
}
Expand description

Runs a ServerKit router with a listener supported by this adapter.

Required Associated Types§

Source

type Output

The value returned by the selected driver.

Required Methods§

Source

fn run(self, listener: L) -> Self::Output

Serves the router using listener.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§