pub trait ModelLoggingCategory:
Display
+ FromStr
+ Ord
+ Copy
+ Default {
// Required methods
fn all_categories() -> impl Iterator<Item = Self>;
fn trace_category() -> Self;
fn error_category() -> Self;
}Required Methods§
Sourcefn all_categories() -> impl Iterator<Item = Self>
fn all_categories() -> impl Iterator<Item = Self>
Return an iterator over all possible logging categories
Sourcefn trace_category() -> Self
fn trace_category() -> Self
Get the category for tracing FMI API calls
Sourcefn error_category() -> Self
fn error_category() -> Self
Get the category for logging errors
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.