pub enum Event {
Add(String, Box<StatusNotifierItem>),
Update(String, UpdateEvent),
Remove(String),
}
Expand description
An event emitted by the client
representing a change from either the StatusNotifierItem
or DBusMenu
protocols.
Variants§
Add(String, Box<StatusNotifierItem>)
A new StatusNotifierItem
was added.
Update(String, UpdateEvent)
An update was received for an existing StatusNotifierItem
.
This could be either an update to the item itself,
or an update to the associated menu.
Remove(String)
A StatusNotifierItem
was unregistered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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