Skip to main content

JackLoggingHandler

Trait JackLoggingHandler 

Source
pub trait JackLoggingHandler: Send {
    // Required methods
    fn on_error(&mut self, msg: &str);
    fn on_info(&mut self, msg: &str);
}
Expand description

An object that can receive info and error messages from JACK.

Required Methods§

Source

fn on_error(&mut self, msg: &str)

Called when JACK displays an error message.

Source

fn on_info(&mut self, msg: &str)

Called when JACK displays an info message.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§