[][src]Enum blip::simulation::ChannelStub

pub enum ChannelStub {
    Simulated(Connection),
    Native(Channel),
}
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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

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.

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T, Request> ServiceExt<Request> for T where
    T: Service<Request> + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]