Struct sse::EchoService [−][src]
pub struct EchoService { /* fields omitted */ }
Methods
impl EchoService
[src]
impl EchoService
Trait Implementations
impl Clone for EchoService
[src]
impl Clone for EchoService
fn clone(&self) -> EchoService
[src]
fn clone(&self) -> EchoService
Returns 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 EchoService
type 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::Future
Process the request and return the response asynchronously.
Auto Trait Implementations
impl !Send for EchoService
impl !Send for EchoService
impl !Sync for EchoService
impl !Sync for EchoService