pub enum AdaptiveOutcome {
Eager(Digested),
Streamed(Box<Document>),
}Expand description
What DigestionAPI::digest_adaptive produced: the whole eager box list, or a
finished streamed document when the run crossed the spill watermark.
Variants§
Eager(Digested)
Streamed(Box<Document>)
Boxed: a Document is large next to the Rc handle (clippy
large_enum_variant).
Auto Trait Implementations§
impl !RefUnwindSafe for AdaptiveOutcome
impl !Send for AdaptiveOutcome
impl !Sync for AdaptiveOutcome
impl !UnwindSafe for AdaptiveOutcome
impl Freeze for AdaptiveOutcome
impl Unpin for AdaptiveOutcome
impl UnsafeUnpin for AdaptiveOutcome
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