serverkit-hyper 0.4.1

Hyper HTTP/1 and HTTP/2 adapter for ServerKit
Documentation
1
2
3
4
5
6
7
8
/// Runs a ServerKit router with a listener supported by this adapter.
pub trait Run<L> {
    /// The value returned by the selected driver.
    type Output;

    /// Serves the router using `listener`.
    fn run(self, listener: L) -> Self::Output;
}