pub enum FeedRead {
Resync {
generation: u64,
tail: u64,
},
Future,
}Expand description
Why a feed read could not be served from the backlog.
Variants§
Resync
Cursor unservable (stale generation or evicted offset): rebuild from a scan, then resume from the carried tail cursor.
Fields
Future
Cursor is ahead of the stream (offset > next) in the current
generation — caller bug or epoch confusion; reject the read.
Trait Implementations§
impl Copy for FeedRead
impl Eq for FeedRead
impl StructuralPartialEq for FeedRead
Auto Trait Implementations§
impl Freeze for FeedRead
impl RefUnwindSafe for FeedRead
impl Send for FeedRead
impl Sync for FeedRead
impl Unpin for FeedRead
impl UnsafeUnpin for FeedRead
impl UnwindSafe for FeedRead
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