#[non_exhaustive]pub enum GapReason {
Timeout,
Overflow,
NotRecovered,
Unavailable,
Incomplete,
EpochChanged,
Closed,
}Expand description
Why a gap was not filled.
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.
Timeout
The replay did not come within recovery_timeout.
Overflow
Too many messages came past the gap while waiting.
NotRecovered
The server no longer has the messages.
The server keeps no history, or does not answer recovery requests.
Incomplete
The replay stopped short.
EpochChanged
The server restarted: the topic’s history began again.
Closed
The client stopped while waiting.
Implementations§
Trait Implementations§
impl Copy for GapReason
impl Eq for GapReason
impl StructuralPartialEq for GapReason
Auto Trait Implementations§
impl Forget for GapReason
impl Freeze for GapReason
impl Move for GapReason
impl RefUnwindSafe for GapReason
impl Send for GapReason
impl Sync for GapReason
impl Unpin for GapReason
impl UnsafeUnpin for GapReason
impl UnwindSafe for GapReason
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