Trait thruster::ThrusterServer
source · [−]pub trait ThrusterServer {
type Context: Context + Clone + Send + Sync;
type Response;
type Request: ThrusterRequest;
type State: Send;
fn new(_: App<Self::Request, Self::Context, Self::State>) -> Self;
fn build(self, host: &str, port: u16) -> ReusableBoxFuture<()>ⓘNotable traits for ReusableBoxFuture<T>impl<T> Future for ReusableBoxFuture<T> type Output = T;
;
fn start(self, host: &str, port: u16)
where
Self: Sized,
{ ... }
}