pub enum Seen {
Pointer(u64, String),
Nothing,
Legacy,
}Expand description
What a consume’s read of the document established, for the barrier’s no-change fast path (which must not pay for the same read twice).
Variants§
Pointer(u64, String)
The pointer at this (seq, etag).
Nothing
Neither the pointer nor the legacy object exists: nothing has ever been published here. Both reads happened in this pass.
Legacy
A legacy single-object document (no pointer); the fast path asks.
Trait Implementations§
impl Eq for Seen
impl StructuralPartialEq for Seen
Auto Trait Implementations§
impl Freeze for Seen
impl RefUnwindSafe for Seen
impl Send for Seen
impl Sync for Seen
impl Unpin for Seen
impl UnsafeUnpin for Seen
impl UnwindSafe for Seen
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