pub enum StreamingMode {
Unary,
ServerStream,
ClientStream,
BidiStream,
}Expand description
Streaming direction tag attached to an Operation.
Variants§
Unary
Plain request/response.
ServerStream
Server pushes multiple messages (GraphQL Subscription, gRPC
stream response).
ClientStream
Client pushes multiple messages (gRPC stream request).
BidiStream
Both sides stream (gRPC stream request + stream response).
Implementations§
Source§impl StreamingMode
impl StreamingMode
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§fn default() -> StreamingMode
fn default() -> StreamingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamingMode
impl<'de> Deserialize<'de> for StreamingMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 Serialize for StreamingMode
impl Serialize 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.