pub enum TrayStatus {
Passive,
Active,
NeedsAttention,
}Expand description
Whether a tray item wants to be seen.
Variants§
Passive
Nothing to report now, so a bar may hide it.
Active
The usual state.
NeedsAttention
It asks for the user’s attention, and shows its attention icon if it has one.
Trait Implementations§
Source§impl Clone for TrayStatus
impl Clone for TrayStatus
impl Copy for TrayStatus
Source§impl Debug for TrayStatus
impl Debug for TrayStatus
Source§impl Default for TrayStatus
impl Default for TrayStatus
impl Eq for TrayStatus
Source§impl PartialEq for TrayStatus
impl PartialEq for TrayStatus
impl StructuralPartialEq for TrayStatus
Auto Trait Implementations§
impl Forget for TrayStatus
impl Freeze for TrayStatus
impl Move for TrayStatus
impl RefUnwindSafe for TrayStatus
impl Send for TrayStatus
impl Sync for TrayStatus
impl Unpin for TrayStatus
impl UnsafeUnpin for TrayStatus
impl UnwindSafe for TrayStatus
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.