Struct grpcio::ClientStreamingSink
source · [−]pub struct ClientStreamingSink<T> { /* private fields */ }
Expand description
Implementations
sourceimpl<T> ClientStreamingSink<T>
impl<T> ClientStreamingSink<T>
pub fn set_headers(&mut self, meta: Metadata)
pub fn set_call_flags(&mut self, flags: u32)
pub fn success(self, t: T) -> ClientStreamingSinkResultⓘNotable traits for ClientStreamingSinkResultimpl Future for ClientStreamingSinkResult type Output = Result<()>;
pub fn fail(self, status: RpcStatus) -> ClientStreamingSinkResultⓘNotable traits for ClientStreamingSinkResultimpl Future for ClientStreamingSinkResult type Output = Result<()>;
Trait Implementations
sourceimpl<T> Drop for ClientStreamingSink<T>
impl<T> Drop for ClientStreamingSink<T>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more