pub enum StreamOption {
ReturnOnce,
ReturnStream,
}Expand description
The stream option.
Variants§
Trait Implementations§
Source§impl Clone for StreamOption
impl Clone for StreamOption
Source§fn clone(&self) -> StreamOption
fn clone(&self) -> StreamOption
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamOption
impl Debug for StreamOption
Source§impl Default for StreamOption
impl Default for StreamOption
Source§impl<'de> Deserialize<'de> for StreamOption
impl<'de> Deserialize<'de> for StreamOption
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 Display for StreamOption
impl Display for StreamOption
Source§impl Hash for StreamOption
impl Hash for StreamOption
Source§impl PartialEq for StreamOption
impl PartialEq for StreamOption
Source§impl Serialize for StreamOption
impl Serialize for StreamOption
impl Copy for StreamOption
impl Eq for StreamOption
impl StructuralPartialEq for StreamOption
Auto Trait Implementations§
impl Freeze for StreamOption
impl RefUnwindSafe for StreamOption
impl Send for StreamOption
impl Sync for StreamOption
impl Unpin for StreamOption
impl UnwindSafe for StreamOption
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.