[][src]Struct tower_grpc::generic::Streaming

#[must_use = "futures do nothing unless polled"]
pub struct Streaming<T, B: Body> { /* fields omitted */ }

An stream of inbound gRPC messages

Trait Implementations

impl<T, B> Debug for Streaming<T, B> where
    T: Debug,
    B: Body + Debug,
    B::Data: Debug
[src]

impl<T, U> Stream for Streaming<T, U> where
    T: Decoder,
    U: Body
[src]

type Item = T::Item

The type of item this stream will yield on success.

type Error = Status

The type of error this stream may generate.

Auto Trait Implementations

impl<T, B> Send for Streaming<T, B> where
    B: Send,
    T: Send,
    <B as Body>::Data: Send

impl<T, B> Sync for Streaming<T, B> where
    B: Sync,
    T: Sync,
    <B as Body>::Data: Sync

impl<T, B> Unpin for Streaming<T, B> where
    B: Unpin,
    T: Unpin,
    <B as Body>::Data: Unpin

impl<T, B> RefUnwindSafe for Streaming<T, B> where
    B: RefUnwindSafe,
    T: RefUnwindSafe,
    <B as Body>::Data: RefUnwindSafe

impl<T, B> UnwindSafe for Streaming<T, B> where
    B: UnwindSafe,
    T: UnwindSafe,
    <B as Body>::Data: UnwindSafe

Blanket Implementations

impl<T, U> Encodable<BoxBody> for T where
    T: Stream<Item = U, Error = Status> + Send + 'static,
    U: Message + 'static, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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]