pub enum ReplayEnd {
Head,
At(u64),
}Expand description
Where a replay stops (exclusive), resolved against the log head when the reader is constructed.
Variants§
Head
The head observed at reader construction; later appends are not yielded by this reader.
At(u64)
A fixed exclusive position. Beyond-head values are rejected at
construction with OffsetBeyondHead.
Trait Implementations§
impl Copy for ReplayEnd
impl Eq for ReplayEnd
impl StructuralPartialEq for ReplayEnd
Auto Trait Implementations§
impl Freeze for ReplayEnd
impl RefUnwindSafe for ReplayEnd
impl Send for ReplayEnd
impl Sync for ReplayEnd
impl Unpin for ReplayEnd
impl UnsafeUnpin for ReplayEnd
impl UnwindSafe for ReplayEnd
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