pub enum SpeculationDecision {
Fire,
Debounced,
InsufficientNewContent,
NothingStable,
}Expand description
Why the gate did or did not fire.
Variants§
Fire
Speculate now.
Debounced
Too soon since the last speculation.
InsufficientNewContent
Not enough new content to change the query.
NothingStable
Nothing stable to speculate on yet.
Trait Implementations§
Source§impl Clone for SpeculationDecision
impl Clone for SpeculationDecision
Source§fn clone(&self) -> SpeculationDecision
fn clone(&self) -> SpeculationDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpeculationDecision
Source§impl Debug for SpeculationDecision
impl Debug for SpeculationDecision
impl Eq for SpeculationDecision
Source§impl PartialEq for SpeculationDecision
impl PartialEq for SpeculationDecision
impl StructuralPartialEq for SpeculationDecision
Auto Trait Implementations§
impl Freeze for SpeculationDecision
impl RefUnwindSafe for SpeculationDecision
impl Send for SpeculationDecision
impl Sync for SpeculationDecision
impl Unpin for SpeculationDecision
impl UnsafeUnpin for SpeculationDecision
impl UnwindSafe for SpeculationDecision
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