[][src]Trait thruster::ThrusterServer

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

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> ThrusterServer for Server<T> where
    T: Send + Context<Response = Response>, 
[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...