Struct grpcio::UnarySink[][src]

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

A sink for unary call.

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

Methods

impl<T> UnarySink<T>
[src]

Trait Implementations

impl<T> Drop for UnarySink<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 UnarySink<T>

impl<T> !Sync for UnarySink<T>