pub enum Action {
Auth(es_event_id_t),
Notify(ActionResult),
}
Available on macOS only.
Expand description
When a Message
is received, it is associated with an Action
Variants§
Auth(es_event_id_t)
For AUTH
events, it is the opaque ID that must be supplied when responding
Notify(ActionResult)
For NOTIFY
events, describes the result of the action
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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