Struct grpcio::ClientStreamingSink[][src]

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

A sink for client streaming call.

To close the sink properly, you should call success or fail before dropping.

Methods

impl<T> ClientStreamingSink<T>
[src]

Trait Implementations

impl<T> Drop for ClientStreamingSink<T>
[src]

The corresponding RPC will be canceled if the sink did not send a response before dropping.

Auto Trait Implementations

impl<T> Send for ClientStreamingSink<T>

impl<T> Sync for ClientStreamingSink<T>