pub struct HintsModule { /* private fields */ }Implementations§
Source§impl HintsModule
impl HintsModule
Source§impl HintsModule
impl HintsModule
Sourcepub fn fire(
&self,
lane: &str,
candidates: &[(&'static str, String)],
max: u64,
stuck: bool,
) -> Option<String>
pub fn fire( &self, lane: &str, candidates: &[(&'static str, String)], max: u64, stuck: bool, ) -> Option<String>
The first candidate lane has not muted or spent (max per tag), counted as fired and journaled, as its
hint line; None when every candidate is muted or spent. While the loop detector handles a stuck phase
(stuck), the narrower repeated-failure hint gives way.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HintsModule
impl !RefUnwindSafe for HintsModule
impl !UnwindSafe for HintsModule
impl Forget for HintsModule
impl Move for HintsModule
impl Send for HintsModule
impl Sync for HintsModule
impl Unpin for HintsModule
impl UnsafeUnpin for HintsModule
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