Struct dbgp::Echo
[−]
[src]
pub struct Echo;
Trait Implementations
impl Service for Echo
[src]
type Request = String
Requests handled by the service.
type Response = String
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = BoxFuture<Self::Response, Self::Error>
The future response value.
fn call(&self, req: Self::Request) -> Self::Future
Process the request and return the response asynchronously.