pub enum InvalidationReason {
Reconnect,
Lag,
SequenceGap {
expected: u64,
received: u64,
},
ExchangeReset,
}Expand description
Why a specific book was invalidated — handed to users so they can decide whether to alert, log, or handle it silently.
Variants§
Trait Implementations§
Source§impl Clone for InvalidationReason
impl Clone for InvalidationReason
Source§fn clone(&self) -> InvalidationReason
fn clone(&self) -> InvalidationReason
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 InvalidationReason
impl Debug for InvalidationReason
Source§impl<'de> Deserialize<'de> for InvalidationReason
impl<'de> Deserialize<'de> for InvalidationReason
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 InvalidationReason
impl PartialEq for InvalidationReason
Source§impl Serialize for InvalidationReason
impl Serialize for InvalidationReason
impl Eq for InvalidationReason
impl StructuralPartialEq for InvalidationReason
Auto Trait Implementations§
impl Freeze for InvalidationReason
impl RefUnwindSafe for InvalidationReason
impl Send for InvalidationReason
impl Sync for InvalidationReason
impl Unpin for InvalidationReason
impl UnsafeUnpin for InvalidationReason
impl UnwindSafe for InvalidationReason
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