pub trait RosoutRaw {
// Required methods
fn rosout_writer(&self) -> Arc<Option<Publisher<Log>>>;
fn base_name(&self) -> &str;
// Provided method
fn rosout_raw(
&self,
timestamp: Timestamp,
level: impl Into<LogLevel>,
log_name: &str,
log_msg: &str,
source_file: &str,
source_function: &str,
source_line: u32,
) { ... }
}
Expand description
Ability to write to rosout log.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.