Expand description
App event and commands API.
Re-exports§
pub use command;
pub use command;
Macros§
- Declares new
Command
static items. - Declares new
Event<A>
static items. - Declares new
EventArgs
types.
Structs§
- Represents an
Event
without the args type. - Arguments for
Command::on_event
. - Error when the app connected to a sender/receiver channel has disconnected.
- Const rustc-hash hasher.
- Identifies a command event.
- Event args for command events.
- A handle to a
Command
subscription. - Access to metadata of a command.
- Unique identifier of a command metadata state variable.
- Represents a reference counted
dyn Any
object parameter for a command request. - App events and commands service.
- EVENTS L10N integration.
- Represents an event.
- Represents an event widget subscription, handler callback or hook.
- Represents a collection of event handles.
- Event propagation handle associated with one or multiple
EventArgs
. - An event channel receiver.
- An event update sender that can be used from any thread and without access to
EVENTS
.
Enums§
- Represents the scope of a
Command
. - Error when the app connected to a sender channel has disconnected or taken to long to respond.
Traits§
- Methods of
EventArgs
that are object safe. - Adds the
info
command metadata. - Adds the
name
command metadata. Event<A>
arguments.
Type Aliases§
- Read-write command metadata variable.
- Registered commands set.
- Read-only command metadata variable.