pub enum InterruptionLevel {
Active,
Critical,
Passive,
TimeSensitive,
}Expand description
Interruption level for notification delivery and presentation.
Variants§
Active
The system presents the notification immediately, lights up the screen, and can play a sound.
Critical
The system presents the notification immediately, lights up the screen, and bypasses the mute switch to play a sound.
Passive
The system adds the notification to the notification list without lighting up the screen or playing a sound.
TimeSensitive
The system presents the notification immediately, lights up the screen, can play a sound, and breaks through system notification controls.
Trait Implementations§
Source§impl Clone for InterruptionLevel
impl Clone for InterruptionLevel
Source§fn clone(&self) -> InterruptionLevel
fn clone(&self) -> InterruptionLevel
Returns a duplicate 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 InterruptionLevel
impl Debug for InterruptionLevel
Auto Trait Implementations§
impl Freeze for InterruptionLevel
impl RefUnwindSafe for InterruptionLevel
impl Send for InterruptionLevel
impl Sync for InterruptionLevel
impl Unpin for InterruptionLevel
impl UnwindSafe for InterruptionLevel
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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