pub enum OooResult<'a, E> {
InOrder(&'a Operation<E>),
Ordered(Vec<Operation<E>>),
OutOfOrder,
Outdated,
}Available on crate feature
ingest only.Expand description
Result of processing an operation with the OooBuffer.
Variants§
InOrder(&'a Operation<E>)
Operation is already in-order and doesn’t need buffering.
Ordered(Vec<Operation<E>>)
Operation freed buffered items which are now in-order.
The incoming operation itself is also included in the array.
OutOfOrder
Operation is out-of-order and will be buffered.
Outdated
Operation is from before a pruning point and thus outdated.
Trait Implementations§
Auto Trait Implementations§
impl<'a, E> Forget for OooResult<'a, E>
impl<'a, E> Freeze for OooResult<'a, E>
impl<'a, E> RefUnwindSafe for OooResult<'a, E>
impl<'a, E> Send for OooResult<'a, E>
impl<'a, E> Sync for OooResult<'a, E>
impl<'a, E> Unpin for OooResult<'a, E>
impl<'a, E> UnsafeUnpin for OooResult<'a, E>
impl<'a, E> UnwindSafe for OooResult<'a, E>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more