pub struct DefaultCallback { /* private fields */ }Expand description
Default callback implementation (no-op)
Implementations§
Source§impl DefaultCallback
impl DefaultCallback
pub fn new() -> Self
pub fn request_stop(&mut self)
Trait Implementations§
Source§impl Debug for DefaultCallback
impl Debug for DefaultCallback
Source§impl Default for DefaultCallback
impl Default for DefaultCallback
Source§impl SolverCallback for DefaultCallback
impl SolverCallback for DefaultCallback
Source§fn on_instantiation(&mut self, _inst: &Instantiation)
fn on_instantiation(&mut self, _inst: &Instantiation)
Called when new instantiations are generated
Source§fn on_conflict(&mut self, _quantifier: TermId, _reason: &[TermId])
fn on_conflict(&mut self, _quantifier: TermId, _reason: &[TermId])
Called when a conflict is detected
Source§fn on_round_start(&mut self, _round: usize)
fn on_round_start(&mut self, _round: usize)
Called when MBQI starts a new round
Source§fn on_round_end(&mut self, _round: usize, _result: &MBQIResult)
fn on_round_end(&mut self, _round: usize, _result: &MBQIResult)
Called when MBQI completes a round
Source§fn should_stop(&self) -> bool
fn should_stop(&self) -> bool
Check if solver should stop (e.g., timeout)
Auto Trait Implementations§
impl Freeze for DefaultCallback
impl RefUnwindSafe for DefaultCallback
impl Send for DefaultCallback
impl Sync for DefaultCallback
impl Unpin for DefaultCallback
impl UnwindSafe for DefaultCallback
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