pub enum StreamingMode {
Unary,
ClientStreaming,
ServerStreaming,
BidirectionalStreaming,
}Expand description
gRPC streaming mode labels.
Variants§
Unary
A stable label variant.
ClientStreaming
A stable label variant.
ServerStreaming
A stable label variant.
BidirectionalStreaming
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for StreamingMode
impl Clone for StreamingMode
Source§fn clone(&self) -> StreamingMode
fn clone(&self) -> StreamingMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamingMode
impl Debug for StreamingMode
Source§impl Default for StreamingMode
impl Default for StreamingMode
Source§impl Display for StreamingMode
impl Display for StreamingMode
Source§impl FromStr for StreamingMode
impl FromStr for StreamingMode
Source§impl Hash for StreamingMode
impl Hash for StreamingMode
Source§impl Ord for StreamingMode
impl Ord for StreamingMode
Source§fn cmp(&self, other: &StreamingMode) -> Ordering
fn cmp(&self, other: &StreamingMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamingMode
impl PartialEq for StreamingMode
Source§fn eq(&self, other: &StreamingMode) -> bool
fn eq(&self, other: &StreamingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StreamingMode
impl PartialOrd for StreamingMode
impl Copy for StreamingMode
impl Eq for StreamingMode
impl StructuralPartialEq for StreamingMode
Auto Trait Implementations§
impl Freeze for StreamingMode
impl RefUnwindSafe for StreamingMode
impl Send for StreamingMode
impl Sync for StreamingMode
impl Unpin for StreamingMode
impl UnsafeUnpin for StreamingMode
impl UnwindSafe for StreamingMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more