Enum hex_patch::app::log::notification::NotificationLevel
source · pub enum NotificationLevel {
None,
Debug,
Info,
Warning,
Error,
}Variants§
Implementations§
source§impl NotificationLevel
impl NotificationLevel
pub fn bump_notification_level( &mut self, new_notification_level: NotificationLevel, )
pub fn reset(&mut self)
pub fn notification_level_as_u8(&self) -> u8
Trait Implementations§
source§impl Clone for NotificationLevel
impl Clone for NotificationLevel
source§fn clone(&self) -> NotificationLevel
fn clone(&self) -> NotificationLevel
Returns a copy 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 NotificationLevel
impl Debug for NotificationLevel
source§impl Default for NotificationLevel
impl Default for NotificationLevel
source§fn default() -> NotificationLevel
fn default() -> NotificationLevel
Returns the “default value” for a type. Read more
source§impl Display for NotificationLevel
impl Display for NotificationLevel
source§impl From<u8> for NotificationLevel
impl From<u8> for NotificationLevel
source§impl PartialEq for NotificationLevel
impl PartialEq for NotificationLevel
impl Copy for NotificationLevel
impl Eq for NotificationLevel
impl StructuralPartialEq for NotificationLevel
Auto Trait Implementations§
impl Freeze for NotificationLevel
impl RefUnwindSafe for NotificationLevel
impl Send for NotificationLevel
impl Sync for NotificationLevel
impl Unpin for NotificationLevel
impl UnwindSafe for NotificationLevel
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moresource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moresource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more