Struct dvm_info::web::InfoService [−][src]
pub struct InfoService { /* fields omitted */ }
Instruction web service.
Trait Implementations
impl Service<Request<Body>> for InfoService
[src]
impl Service<Request<Body>> for InfoService
[src]type Response = Response<Body>
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = Ready<Result<Self::Response, Self::Error>>
The future response value.
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, req: Request<Body>) -> Self::Future
[src]
Auto Trait Implementations
impl !RefUnwindSafe for InfoService
impl Send for InfoService
impl Sync for InfoService
impl Unpin for InfoService
impl !UnwindSafe for InfoService
Blanket Implementations
impl<T, ReqBody, ResBody> GrpcService<ReqBody> for T where
T: Service<Request<ReqBody>, Response = Response<ResBody>>,
ResBody: Body + Body,
<T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
<ResBody as Body>::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
[src]
impl<T, ReqBody, ResBody> GrpcService<ReqBody> for T where
T: Service<Request<ReqBody>, Response = Response<ResBody>>,
ResBody: Body + Body,
<T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
<ResBody as Body>::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
[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.
pub 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>>
pub 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]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, Request> ServiceExt<Request> for T where
T: Service<Request> + ?Sized,
[src]
impl<T, Request> ServiceExt<Request> for T where
T: Service<Request> + ?Sized,
[src]pub fn ready(&mut self) -> Ready<'_, Self, Request>
[src]
pub fn ready_and(&mut self) -> ReadyAnd<'_, Self, Request>
[src]
pub fn ready_oneshot(self) -> ReadyOneshot<Self, Request>
[src]
pub fn oneshot(self, req: Request) -> Oneshot<Self, Request>
[src]
pub fn call_all<S>(self, reqs: S) -> CallAll<Self, S> where
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
[src]
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Send + Sync, Global>>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,