Trait ThrusterServer
thruster
pub trait ThrusterServer { type Context: Send + Context; type Response: Send; type Request: Send + RequestWithParams; fn new(App<Self::Request, Self::Context>) -> Self; fn start(self, host: &str, port: u16); }
type Context: Send + Context
type Response: Send
type Request: Send + RequestWithParams
fn new(App<Self::Request, Self::Context>) -> Self
fn start(self, host: &str, port: u16)
impl<T> ThrusterServer for Server<T> where T: Send + Context<Response = Response>,
type Context = T
type Response = Response
type Request = Request
fn new(app: App<<Server<T> as ThrusterServer>::Request, T>) -> Server<T>
Alias for start_work_stealing_optimized