[][src]Struct grpcio::StreamingCallSink

#[must_use = "if unused the StreamingCallSink may immediately cancel the RPC"]
pub struct StreamingCallSink<Req> { /* fields omitted */ }

A sink for client streaming call and duplex streaming call. To close the sink properly, you should call close before dropping.

Methods

impl<Req> StreamingCallSink<Req>
[src]

Trait Implementations

impl<P> Drop for StreamingCallSink<P>
[src]

The corresponding RPC will be canceled if the sink did not call close before dropping.

impl<Req> Sink for StreamingCallSink<Req>
[src]

The type of value that the sink accepts.

The type of value produced by the sink when an error occurs.

Creates a new object which will produce a synchronous sink. Read more

Composes a function in front of the sink. Read more

Composes a function in front of the sink. Read more

Transforms the error returned by the sink.

Map this sink's error to any error implementing From for this sink's Error, returning a new sink. Read more

Adds a fixed-size buffer to the current sink. Read more

Fanout items to multiple sinks. Read more

A future that completes when the sink has finished processing all pending requests. Read more

A future that completes after the given item has been fully processed into the sink, including flushing. Read more

A future that completes after the given stream has been fully processed into the sink, including flushing. Read more

Auto Trait Implementations

impl<Req> Send for StreamingCallSink<Req>

impl<Req> Sync for StreamingCallSink<Req>

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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