Enum gio::NotificationPriority [−][src]
#[non_exhaustive] pub enum NotificationPriority { Normal, Low, High, Urgent, // some variants omitted }
Expand description
Priority levels for GNotifications
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
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
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
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
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.