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