[][src]Enum gio::NotificationPriority

#[non_exhaustive]pub enum NotificationPriority {
    // 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.

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


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


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


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.