conjure_core/solver/
states.rsuse std::fmt::Display;
use crate::stats::SolverStats;
use super::private::Internal;
use super::private::Sealed;
use super::SearchStatus;
use super::Solver;
use super::SolverError;
pub trait SolverState: Sealed {}
impl Sealed for Init {}
impl Sealed for ModelLoaded {}
impl Sealed for ExecutionSuccess {}
impl Sealed for ExecutionFailure {}
impl SolverState for Init {}
impl SolverState for ModelLoaded {}
impl SolverState for ExecutionSuccess {}
impl SolverState for ExecutionFailure {}
pub struct Init;
pub struct ModelLoaded;
pub struct ExecutionSuccess {
pub stats: SolverStats,
pub status: SearchStatus,
pub _sealed: Internal,
}
pub struct ExecutionFailure {
pub why: SolverError,
pub _sealed: Internal,
}