pub enum NotifyLevel {
Low,
Normal,
Critical,
}Expand description
A notification level when calling notify-send
The effect of this on the generated notification will depend on the notification daemon that you are using.
Variants§
Trait Implementations§
Source§impl Clone for NotifyLevel
impl Clone for NotifyLevel
Source§fn clone(&self) -> NotifyLevel
fn clone(&self) -> NotifyLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotifyLevel
Source§impl Debug for NotifyLevel
impl Debug for NotifyLevel
impl Eq for NotifyLevel
Source§impl Hash for NotifyLevel
impl Hash for NotifyLevel
Source§impl Ord for NotifyLevel
impl Ord for NotifyLevel
Source§fn cmp(&self, other: &NotifyLevel) -> Ordering
fn cmp(&self, other: &NotifyLevel) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for NotifyLevel
impl PartialEq for NotifyLevel
Source§impl PartialOrd for NotifyLevel
impl PartialOrd for NotifyLevel
impl StructuralPartialEq for NotifyLevel
Auto Trait Implementations§
impl Freeze for NotifyLevel
impl RefUnwindSafe for NotifyLevel
impl Send for NotifyLevel
impl Sync for NotifyLevel
impl Unpin for NotifyLevel
impl UnsafeUnpin for NotifyLevel
impl UnwindSafe for NotifyLevel
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
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