[][src]Trait thruster_server::thruster_server::ThrusterServer

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); }

Associated Types

Loading content...

Required methods

fn new(_: App<Self::Request, Self::Context>) -> Self

fn start(self, host: &str, port: u16)

Loading content...

Implementors

impl<T: Context<Response = Response> + Send> ThrusterServer for Server<T>[src]

type Context = T

type Response = Response

type Request = Request

fn start(self, host: &str, port: u16)[src]

Alias for start_work_stealing_optimized

Loading content...