pub enum SubscriptionMode {
Merge,
Distinct,
Raw,
Command,
}
Expand description
Enum representing the subscription mode.
Variants§
Merge
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
DISTINCT mode. The server sends an update for an item every time new data for that item is available.
Raw
RAW mode. The server forwards any update for an item that it receives, without performing any processing.
Command
COMMAND mode. The server sends updates based on add, update, and delete commands.
Trait Implementations§
Source§impl Debug for SubscriptionMode
impl Debug for SubscriptionMode
Source§impl Display for SubscriptionMode
impl Display for SubscriptionMode
Source§impl PartialEq for SubscriptionMode
impl PartialEq for SubscriptionMode
impl Eq for SubscriptionMode
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 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