pub enum SuggestTrigger {
GoalCompleted {
goal_id: GoalId,
changes: AcChanges,
},
WaveCompleted {
wave_id: WaveId,
goal_count: usize,
changes: AcChanges,
},
Manual,
Periodic {
elapsed: Duration,
},
FileChanged {
paths: Vec<PathBuf>,
},
}Expand description
Trigger for suggestion re-evaluation
Variants§
GoalCompleted
A single Goal completed (1 Goal = 1 logical unit of work)
WaveCompleted
A Wave completed (e.g., debug wave, feature wave) Multiple Goals form a Wave
Manual
Manual trigger (user requested refresh)
Periodic
Periodic timer (e.g., every 30 seconds idle)
FileChanged
File watcher detected external changes
Implementations§
Trait Implementations§
Source§impl Clone for SuggestTrigger
impl Clone for SuggestTrigger
Source§fn clone(&self) -> SuggestTrigger
fn clone(&self) -> SuggestTrigger
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 moreAuto Trait Implementations§
impl Freeze for SuggestTrigger
impl RefUnwindSafe for SuggestTrigger
impl Send for SuggestTrigger
impl Sync for SuggestTrigger
impl Unpin for SuggestTrigger
impl UnsafeUnpin for SuggestTrigger
impl UnwindSafe for SuggestTrigger
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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