[−][src]Struct client::pb::server::test_service::methods::StreamingOutputCall
Trait Implementations
impl<T> Service<Request<StreamingOutputCallRequest>> for StreamingOutputCall<T> where
T: TestService,
[src]
T: TestService,
type Response = Response<T::StreamingOutputCallStream>
Responses given by the service.
type Error = Status
Errors produced by the service.
type Future = T::StreamingOutputCallFuture
The future response value.
fn poll_ready(&mut self) -> Poll<(), Self::Error>
[src]
fn call(&mut self, request: Request<StreamingOutputCallRequest>) -> Self::Future
[src]
Auto Trait Implementations
impl<T> Unpin for StreamingOutputCall<T> where
T: Unpin,
T: Unpin,
impl<T> Sync for StreamingOutputCall<T> where
T: Sync,
T: Sync,
impl<T> Send for StreamingOutputCall<T> where
T: Send,
T: Send,
impl<T> UnwindSafe for StreamingOutputCall<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for StreamingOutputCall<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
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>,
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Request> ServiceExt<Request> for T where
T: Service<Request> + ?Sized,
[src]
T: Service<Request> + ?Sized,
fn ready(self) -> Ready<Self, Request>
[src]
A future yielding the service when it is ready to accept a request.
fn oneshot(self, req: Request) -> Oneshot<Self, Request>
[src]
Consume this Service
, calling with the providing request once it is ready.
fn call_all<S>(self, reqs: S) -> CallAll<Self, S> where
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
<S as Stream>::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
[src]
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
<S as Stream>::Error: Into<Box<dyn Error + 'static + Send + Sync>>,
Process all requests from the given Stream
, and produce a Stream
of their responses. Read more
impl<T, M, S> ServerStreamingService<M> for T where
S: Stream<Error = Status>,
T: Service<Request<M>, Response = Response<S>, Error = Status>,
[src]
S: Stream<Error = Status>,
T: Service<Request<M>, Response = Response<S>, Error = Status>,
type Response = <S as Stream>::Item
Protobuf response message type
type ResponseStream = S
Stream of outbound response messages
type Future = <T as Service<Request<M>>>::Future
Response future
fn call(
&mut self,
request: Request<M>
) -> <T as ServerStreamingService<M>>::Future
[src]
&mut self,
request: Request<M>
) -> <T as ServerStreamingService<M>>::Future
impl<T, M1, M2> UnaryService<M1> for T where
T: Service<Request<M1>, Response = Response<M2>, Error = Status>,
[src]
T: Service<Request<M1>, Response = Response<M2>, Error = Status>,