pub type ClientTransport = InterceptedService<Channel, VersionAttachInterceptor>;
Aliased Type§
struct ClientTransport { /* private fields */ }
Implementations
Source§impl<S, F> InterceptedService<S, F>
impl<S, F> InterceptedService<S, F>
Sourcepub fn new(service: S, f: F) -> InterceptedService<S, F>where
F: Interceptor,
pub fn new(service: S, f: F) -> InterceptedService<S, F>where
F: Interceptor,
Create a new InterceptedService
that wraps S
and intercepts each request with the
function F
.
Trait Implementations
Source§impl<S, F> Clone for InterceptedService<S, F>
impl<S, F> Clone for InterceptedService<S, F>
Source§fn clone(&self) -> InterceptedService<S, F>
fn clone(&self) -> InterceptedService<S, F>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S, F> Debug for InterceptedService<S, F>where
S: Debug,
impl<S, F> Debug for InterceptedService<S, F>where
S: Debug,
Source§impl<S, F> NamedService for InterceptedService<S, F>where
S: NamedService,
impl<S, F> NamedService for InterceptedService<S, F>where
S: NamedService,
Source§impl<S, F, ReqBody, ResBody> Service<Request<ReqBody>> for InterceptedService<S, F>
impl<S, F, ReqBody, ResBody> Service<Request<ReqBody>> for InterceptedService<S, F>
Source§type Future = ResponseFuture<<S as Service<Request<ReqBody>>>::Future>
type Future = ResponseFuture<<S as Service<Request<ReqBody>>>::Future>
The future response value.