[][src]Struct tower_grpc::server::streaming::ResponseFuture

pub struct ResponseFuture<T, S> where
    T: StreamingService<S>,
    S: Stream<Error = Status>,
    S::Item: Message + Default,
    T::Response: Message
{ /* fields omitted */ }

Trait Implementations

impl<T, S> Debug for ResponseFuture<T, S> where
    T: StreamingService<S> + Debug,
    S: Stream<Error = Status> + Debug,
    S::Item: Message + Default + Debug,
    T::Response: Message + Debug,
    T::ResponseStream: Debug,
    T::Future: Debug
[src]

impl<T, S> Future for ResponseFuture<T, S> where
    T: StreamingService<S>,
    S: Stream<Error = Status>,
    S::Item: Message + Default,
    T::Response: Message
[src]

type Item = Response<Encode<T::ResponseStream>>

The type of value that this future will resolved with if it is successful. Read more

type Error = Never

The type of error that this future will resolve with if it fails in a normal fashion. Read more

Auto Trait Implementations

impl<T, S> Send for ResponseFuture<T, S> where
    <T as StreamingService<S>>::Future: Send

impl<T, S> Unpin for ResponseFuture<T, S> where
    <T as StreamingService<S>>::Future: Unpin,
    <T as StreamingService<S>>::Response: Unpin

impl<T, S> Sync for ResponseFuture<T, S> where
    <T as StreamingService<S>>::Future: Sync

impl<T, S> UnwindSafe for ResponseFuture<T, S> where
    <T as StreamingService<S>>::Future: UnwindSafe,
    <T as StreamingService<S>>::Response: UnwindSafe

impl<T, S> RefUnwindSafe for ResponseFuture<T, S> where
    <T as StreamingService<S>>::Future: RefUnwindSafe,
    <T as StreamingService<S>>::Response: RefUnwindSafe

Blanket Implementations

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

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

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

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

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.