pub enum DefaultLoggingCategory {
LogAll,
Trace,
}Expand description
Simple default logging category for models that don’t need custom logging
Variants§
Trait Implementations§
Source§impl Clone for DefaultLoggingCategory
impl Clone for DefaultLoggingCategory
Source§fn clone(&self) -> DefaultLoggingCategory
fn clone(&self) -> DefaultLoggingCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultLoggingCategory
impl Debug for DefaultLoggingCategory
Source§impl Default for DefaultLoggingCategory
impl Default for DefaultLoggingCategory
Source§fn default() -> DefaultLoggingCategory
fn default() -> DefaultLoggingCategory
Returns the “default value” for a type. Read more
Source§impl Display for DefaultLoggingCategory
impl Display for DefaultLoggingCategory
Source§impl FromStr for DefaultLoggingCategory
impl FromStr for DefaultLoggingCategory
Source§impl ModelLoggingCategory for DefaultLoggingCategory
impl ModelLoggingCategory for DefaultLoggingCategory
Source§fn all_categories() -> impl Iterator<Item = Self>
fn all_categories() -> impl Iterator<Item = Self>
Return an iterator over all possible logging categories
Source§fn trace_category() -> Self
fn trace_category() -> Self
Get the category for tracing FMI API calls
Source§fn error_category() -> Self
fn error_category() -> Self
Get the category for logging errors
Source§impl Ord for DefaultLoggingCategory
impl Ord for DefaultLoggingCategory
Source§fn cmp(&self, other: &DefaultLoggingCategory) -> Ordering
fn cmp(&self, other: &DefaultLoggingCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefaultLoggingCategory
impl PartialEq for DefaultLoggingCategory
Source§impl PartialOrd for DefaultLoggingCategory
impl PartialOrd for DefaultLoggingCategory
impl Copy for DefaultLoggingCategory
impl Eq for DefaultLoggingCategory
impl StructuralPartialEq for DefaultLoggingCategory
Auto Trait Implementations§
impl Freeze for DefaultLoggingCategory
impl RefUnwindSafe for DefaultLoggingCategory
impl Send for DefaultLoggingCategory
impl Sync for DefaultLoggingCategory
impl Unpin for DefaultLoggingCategory
impl UnwindSafe for DefaultLoggingCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> InitializeFromStart<T> for T
impl<T> InitializeFromStart<T> for T
fn set_from_start(&mut self, value: T)
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more