pub enum 消息 {
TrialMax {
temperature: f64,
accept_rate: f64,
},
TrialMin {
temperature: f64,
improve_rate: f64,
},
Parameters {
t_max: f64,
t_min: f64,
},
Progress {
steps: usize,
temperature: f64,
metric: Metric,
},
BetterSolution {
metric: Metric,
config: 配置,
save: bool,
},
Elapsed(u128),
}Expand description
向用户反馈的消息类型
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for 消息
impl RefUnwindSafe for 消息
impl Send for 消息
impl Sync for 消息
impl Unpin for 消息
impl UnwindSafe for 消息
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