Struct aubio_rs::FnLogger [−][src]
pub struct FnLogger<F>(_);
Closure logger wrapper
use aubio_rs::{Log, FnLogger}; Log::set(FnLogger::from(|level, message: &str| { eprintln!("[{}]: {}", level, message); }));
Implementations
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for FnLogger<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for FnLogger<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for FnLogger<F> where
F: UnwindSafe,
impl<F> UnwindSafe for FnLogger<F> where
F: UnwindSafe,