#[non_exhaustive]pub enum PushHintReason {
JournalAdvanced,
SnapshotInvalidated,
RegionChanged,
}Expand description
Reason a server suggests that the client perform a normal synchronization exchange.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
JournalAdvanced
The authoritative journal advanced beyond the hinted cursor.
SnapshotInvalidated
A previously captured bootstrap snapshot should no longer be resumed.
RegionChanged
The preferred serving region changed.
Trait Implementations§
Source§impl Clone for PushHintReason
impl Clone for PushHintReason
Source§fn clone(&self) -> PushHintReason
fn clone(&self) -> PushHintReason
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 PushHintReason
Source§impl Debug for PushHintReason
impl Debug for PushHintReason
Source§impl<'de> Deserialize<'de> for PushHintReason
impl<'de> Deserialize<'de> for PushHintReason
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
impl Eq for PushHintReason
Source§impl PartialEq for PushHintReason
impl PartialEq for PushHintReason
Source§impl Serialize for PushHintReason
impl Serialize for PushHintReason
impl StructuralPartialEq for PushHintReason
Auto Trait Implementations§
impl Freeze for PushHintReason
impl RefUnwindSafe for PushHintReason
impl Send for PushHintReason
impl Sync for PushHintReason
impl Unpin for PushHintReason
impl UnsafeUnpin for PushHintReason
impl UnwindSafe for PushHintReason
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