#[repr(u8)]pub enum SubscriptionMode {
Merge = 0,
Distinct = 1,
Raw = 2,
Command = 3,
}Expand description
Enum representing the subscription mode.
Variants§
Merge = 0
MERGE mode. The server sends an update for a specific item only if the state of at least one of the fields has changed.
Distinct = 1
DISTINCT mode. The server sends an update for an item every time new data for that item is available.
Raw = 2
RAW mode. The server forwards any update for an item that it receives, without performing any processing.
Command = 3
COMMAND mode. The server sends updates based on add, update, and delete commands.
Trait Implementations§
Source§impl Clone for SubscriptionMode
impl Clone for SubscriptionMode
Source§fn clone(&self) -> SubscriptionMode
fn clone(&self) -> SubscriptionMode
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 moreimpl Copy for SubscriptionMode
Source§impl Debug for SubscriptionMode
impl Debug for SubscriptionMode
Source§impl Display for SubscriptionMode
impl Display for SubscriptionMode
impl Eq for SubscriptionMode
Source§impl Hash for SubscriptionMode
impl Hash for SubscriptionMode
Source§impl PartialEq for SubscriptionMode
impl PartialEq for SubscriptionMode
Source§fn eq(&self, other: &SubscriptionMode) -> bool
fn eq(&self, other: &SubscriptionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscriptionMode
Auto Trait Implementations§
impl Freeze for SubscriptionMode
impl RefUnwindSafe for SubscriptionMode
impl Send for SubscriptionMode
impl Sync for SubscriptionMode
impl Unpin for SubscriptionMode
impl UnsafeUnpin for SubscriptionMode
impl UnwindSafe for SubscriptionMode
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