//! Core types for the optimizer library.
/// The direction of optimization.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]pubenumDirection{/// Minimize the objective value.
Minimize,/// Maximize the objective value.
Maximize,}/// The state of a trial in its lifecycle.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]pubenumTrialState{/// The trial is currently running.
Running,/// The trial completed successfully.
Complete,/// The trial failed with an error.
Failed,}