[−][src]Struct tokio_tower::pipeline::client::Maker
A factory that makes new Client
instances by creating new transports and wrapping them in
fresh Client
s.
Methods
impl<NT, Request> Maker<NT, Request>
[src]
Trait Implementations
impl<NT, Request> Debug for Maker<NT, Request> where
NT: Debug,
[src]
NT: Debug,
impl<NT, Request> Load for Maker<NT, Request>
[src]
type Metric = u8
A comparable load metric. Lesser values are "preferable" to greater values.
fn load(&self) -> Self::Metric
[src]
impl<NT, Target, Request> Service<Target> for Maker<NT, Request> where
NT: MakeTransport<Target, Request>,
NT::Transport: 'static + Send,
Request: 'static + Send,
NT::Item: 'static + Send,
NT::SinkError: 'static + Send + Sync,
NT::Error: 'static + Send + Sync,
NT::Future: 'static + Send,
[src]
NT: MakeTransport<Target, Request>,
NT::Transport: 'static + Send,
Request: 'static + Send,
NT::Item: 'static + Send,
NT::SinkError: 'static + Send + Sync,
NT::Error: 'static + Send + Sync,
NT::Future: 'static + Send,
type Error = SpawnError<NT::MakeError>
Errors produced by the service.
type Response = Client<NT::Transport, Error<NT::Transport, Request>, Request>
Responses given by the service.
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>
The future response value.
fn call(&mut self, target: Target) -> Self::Future
[src]
fn poll_ready(&mut self, cx: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
Auto Trait Implementations
impl<NT, Request> RefUnwindSafe for Maker<NT, Request> where
NT: RefUnwindSafe,
NT: RefUnwindSafe,
impl<NT, Request> Send for Maker<NT, Request> where
NT: Send,
NT: Send,
impl<NT, Request> Sync for Maker<NT, Request> where
NT: Sync,
NT: Sync,
impl<NT, Request> Unpin for Maker<NT, Request> where
NT: Unpin,
NT: Unpin,
impl<NT, Request> UnwindSafe for Maker<NT, Request> where
NT: UnwindSafe,
NT: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,