pub enum Status {
Passive,
Active,
NeedsAttention,
}Expand description
org.kde.StatusNotifierItem.Status.
Status::Passive asks the host to hide the icon. That is the right
answer for a radio that is switched off — a Bluetooth icon on a
machine with Bluetooth disabled is a permanent piece of noise — but it
is not the right answer for a radio that is on and unconnected,
which is exactly when someone goes looking for it.
Variants§
Implementations§
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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