[−][src]Enum blip::simulation::ChannelStub
This is supported on
feature="simulation"
only.A grpc channel that may or may not be simulated.
Variants
Simulated(Connection)
This is supported on
feature="simulation"
only.A simulated channel.
Native(Channel)
This is supported on
feature="simulation"
only.A native channel.
Trait Implementations
impl Service<Request<BoxBody>> for ChannelStub
[src]
type Response = Response<Body>
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = Pin<Box<dyn Future<Output = Fallible<Response<Body>>> + Send + 'static>>
The future response value.
fn poll_ready(&mut self, cx: &mut Context) -> Poll<Fallible<()>>
[src]
fn call(&mut self, req: Request<BoxBody>) -> Self::Future
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ChannelStub
impl Send for ChannelStub
impl !Sync for ChannelStub
impl Unpin for ChannelStub
impl !UnwindSafe for ChannelStub
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, ReqBody, ResBody> GrpcService<ReqBody> for T where
ResBody: Body + Body,
T: Service<Request<ReqBody>, Response = Response<ResBody>>,
<T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
<ResBody as Body>::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
[src]
ResBody: Body + Body,
T: Service<Request<ReqBody>, Response = Response<ResBody>>,
<T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
<ResBody as Body>::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
type ResponseBody = ResBody
Responses body given by the service.
type Error = <T as Service<Request<ReqBody>>>::Error
Errors produced by the service.
type Future = <T as Service<Request<ReqBody>>>::Future
The future response value.
fn poll_ready(
&mut self,
cx: &mut Context
) -> Poll<Result<(), <T as GrpcService<ReqBody>>::Error>>
[src]
&mut self,
cx: &mut Context
) -> Poll<Result<(), <T as GrpcService<ReqBody>>::Error>>
fn call(
&mut self,
request: Request<ReqBody>
) -> <T as GrpcService<ReqBody>>::Future
[src]
&mut self,
request: Request<ReqBody>
) -> <T as GrpcService<ReqBody>>::Future
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
impl<T, Request> ServiceExt<Request> for T where
T: Service<Request> + ?Sized,
[src]
T: Service<Request> + ?Sized,
fn ready(&mut self) -> Ready<Self, Request>
[src]
fn oneshot(self, req: Request) -> Oneshot<Self, Request>
[src]
fn call_all<S>(self, reqs: S) -> CallAll<Self, S> where
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
[src]
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,