Enum rosomaxa::evolution::telemetry::TelemetryMode
source · pub enum TelemetryMode {
None,
OnlyLogging {
logger: InfoLogger,
log_best: usize,
log_population: usize,
dump_population: bool,
},
OnlyMetrics {
track_population: usize,
},
All {
logger: InfoLogger,
log_best: usize,
log_population: usize,
track_population: usize,
dump_population: bool,
},
}
Expand description
Specifies a telemetry mode.
Variants§
None
No telemetry at all.
OnlyLogging
Fields
§
logger: InfoLogger
A logger type.
Only logging.
OnlyMetrics
Only metrics collection.
All
Fields
§
logger: InfoLogger
A logger type.
Both logging and metrics collection.
Trait Implementations§
source§impl Clone for TelemetryMode
impl Clone for TelemetryMode
source§fn clone(&self) -> TelemetryMode
fn clone(&self) -> TelemetryMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TelemetryMode
impl Send for TelemetryMode
impl Sync for TelemetryMode
impl Unpin for TelemetryMode
impl !UnwindSafe for TelemetryMode
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