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

pub struct ResponseFuture<T, B, R> where
    T: ServerStreamingService<R>,
    B: Body,
    R: Message + Default
{ /* fields omitted */ }

Trait Implementations

impl<T, B, R> Debug for ResponseFuture<T, B, R> where
    T: ServerStreamingService<R> + Debug,
    T::Response: Debug,
    T::ResponseStream: Debug,
    T::Future: Debug,
    B: Body + Debug,
    B::Data: Debug,
    R: Message + Default
[src]

impl<T, B, R> Future for ResponseFuture<T, B, R> where
    T: ServerStreamingService<R>,
    R: Message + Default,
    T::Response: Message,
    B: Body
[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, B, R> Send for ResponseFuture<T, B, R> where
    B: Send,
    T: Send,
    <B as Body>::Data: Send,
    <T as ServerStreamingService<R>>::Future: Send,
    <T as ServerStreamingService<R>>::Response: Send

impl<T, B, R> Unpin for ResponseFuture<T, B, R> where
    B: Unpin,
    R: Unpin,
    T: Unpin,
    <B as Body>::Data: Unpin,
    <T as ServerStreamingService<R>>::Future: Unpin,
    <T as ServerStreamingService<R>>::Response: Unpin

impl<T, B, R> Sync for ResponseFuture<T, B, R> where
    B: Sync,
    T: Sync,
    <B as Body>::Data: Sync,
    <T as ServerStreamingService<R>>::Future: Sync,
    <T as ServerStreamingService<R>>::Response: Sync

impl<T, B, R> RefUnwindSafe for ResponseFuture<T, B, R> where
    B: RefUnwindSafe,
    R: RefUnwindSafe,
    T: RefUnwindSafe,
    <B as Body>::Data: RefUnwindSafe,
    <T as ServerStreamingService<R>>::Future: RefUnwindSafe,
    <T as ServerStreamingService<R>>::Response: RefUnwindSafe

impl<T, B, R> UnwindSafe for ResponseFuture<T, B, R> where
    B: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe,
    <B as Body>::Data: UnwindSafe,
    <T as ServerStreamingService<R>>::Future: UnwindSafe,
    <T as ServerStreamingService<R>>::Response: UnwindSafe

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

impl<T> BorrowMut<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.