[−][src]Trait meows::Endpoint
Endpoint comes from tide, and I'm still not sure how this magic works
Required methods
fn call<'a>(
&'a self,
req: Request<ServerState, ClientState>
) -> BoxFuture<'a, Option<Message>>
&'a self,
req: Request<ServerState, ClientState>
) -> BoxFuture<'a, Option<Message>>
Invoke the endpoint within the given context
Implementors
impl<ServerState, ClientState, F: Send + Sync + 'static, Fut> Endpoint<ServerState, ClientState> for F where
F: Fn(Request<ServerState, ClientState>) -> Fut,
Fut: Future<Output = Option<Message>> + Send + 'static,
[src]
F: Fn(Request<ServerState, ClientState>) -> Fut,
Fut: Future<Output = Option<Message>> + Send + 'static,