//! Handing a request to whichever registered service it is for.
use Future;
use Pin;
use crate;
/// Routes a request to the service it is for and returns that service's
/// answer, as an AWS endpoint would.
///
/// [`MockAws::dispatcher`](crate::MockAws::dispatcher) provides one over the
/// services of a mock environment; `winterbaume-server` provides one over
/// its own services. Code that serves requests arriving from elsewhere (
/// such as the AWS endpoint of a Lambda execution environment ) takes one.
/// The answer for a request that no registered service is for.