[][src]Enum gio::NotificationPriority

#[non_exhaustive]pub enum NotificationPriority {
    Normal,
    Low,
    High,
    Urgent,
    // some variants omitted
}

Priority levels for GNotifications.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Normal

the default priority, to be used for the majority of notifications (for example email messages, software updates, completed download/sync operations)

Low

for notifications that do not require immediate attention - typically used for contextual background information, such as contact birthdays or local weather

High

for events that require more attention, usually because responses are time-sensitive (for example chat and SMS messages or alarms)

Urgent

for urgent notifications, or notifications that require a response in a short space of time (for example phone calls or emergency warnings)

Trait Implementations

impl Clone for NotificationPriority[src]

impl Copy for NotificationPriority[src]

impl Debug for NotificationPriority[src]

impl Display for NotificationPriority[src]

impl Eq for NotificationPriority[src]

impl<'a> FromValue<'a> for NotificationPriority[src]

impl<'a> FromValueOptional<'a> for NotificationPriority[src]

impl Hash for NotificationPriority[src]

impl Ord for NotificationPriority[src]

impl PartialEq<NotificationPriority> for NotificationPriority[src]

impl PartialOrd<NotificationPriority> for NotificationPriority[src]

impl SetValue for NotificationPriority[src]

impl StaticType for NotificationPriority[src]

impl StructuralEq for NotificationPriority[src]

impl StructuralPartialEq for NotificationPriority[src]

Auto Trait Implementations

impl RefUnwindSafe for NotificationPriority

impl Send for NotificationPriority

impl Sync for NotificationPriority

impl Unpin for NotificationPriority

impl UnwindSafe for NotificationPriority

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.