Struct sse::EchoService [−][src]
pub struct EchoService { /* fields omitted */ }Methods
impl EchoService[src]
impl EchoServiceTrait Implementations
impl Clone for EchoService[src]
impl Clone for EchoServicefn clone(&self) -> EchoService[src]
fn clone(&self) -> EchoServiceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Service for EchoService[src]
impl Service for EchoServicetype Request = Request
Requests handled by the service.
type Response = Response
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = Box<Future<Item = Self::Response, Error = Self::Error>>
The future response value.
fn call(&self, req: Self::Request) -> Self::Future[src]
fn call(&self, req: Self::Request) -> Self::FutureProcess the request and return the response asynchronously.
Auto Trait Implementations
impl !Send for EchoService
impl !Send for EchoServiceimpl !Sync for EchoService
impl !Sync for EchoService