Struct grpcio::ClientStreamingSink [−][src]
A sink for client streaming call.
To close the sink properly, you should call success
or fail
before dropping.
Implementations
impl<T> ClientStreamingSink<T>
[src][−]
pub fn success(self, t: T) -> ClientStreamingSinkResultⓘNotable traits for ClientStreamingSinkResult
impl Future for ClientStreamingSinkResult type Output = Result<()>;
[src]
Notable traits for ClientStreamingSinkResult
impl Future for ClientStreamingSinkResult type Output = Result<()>;
pub fn fail(self, status: RpcStatus) -> ClientStreamingSinkResultⓘNotable traits for ClientStreamingSinkResult
impl Future for ClientStreamingSinkResult type Output = Result<()>;
[src]
Notable traits for ClientStreamingSinkResult
impl Future for ClientStreamingSinkResult type Output = Result<()>;
Trait Implementations
impl<T> Drop for ClientStreamingSink<T>
[src][+]
Auto Trait Implementations
impl<T> !RefUnwindSafe for ClientStreamingSink<T>
impl<T> Send for ClientStreamingSink<T>
impl<T> Sync for ClientStreamingSink<T>
impl<T> Unpin for ClientStreamingSink<T>
impl<T> !UnwindSafe for ClientStreamingSink<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,