[−][src]Struct argmin_core::ArgminLogger
Container for ArgminLog
gers
Methods
impl ArgminLogger
[src]
pub fn new() -> Self
[src]
Constructor
pub fn push(&mut self, logger: Arc<dyn ArgminLog>) -> &mut Self
[src]
Push another ArgminLog
to the logger
field
Trait Implementations
impl ArgminLog for ArgminLogger
[src]
By implementing ArgminLog
for ArgminLogger
we basically allow a set of ArgminLog
gers to
be used just like a single ArgminLog
ger.
fn log_info(&self, msg: &str, kv: &ArgminKV) -> Result<(), Error>
[src]
Log general info
fn log_iter(&self, kv: &ArgminKV) -> Result<(), Error>
[src]
This should be used to log iteration data only (because this is what may be saved in a CSV file or a database)
impl Default for ArgminLogger
[src]
fn default() -> ArgminLogger
[src]
impl Clone for ArgminLogger
[src]
fn clone(&self) -> ArgminLogger
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ArgminLogger
impl Sync for ArgminLogger
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,