Expand description
App event and commands API.
Re-exports§
pub use command;pub use command;
Macros§
- Declares new
Commandstatic items. - Declares new
Event<A>static items. - Declares new
EventArgstypes.
Structs§
- Represents an
Eventwithout 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
Commandsubscription. - Access to metadata of a command.
- Unique identifier of a command metadata state variable.
- Represents a reference counted
dyn Anyobject 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
EventArgsthat are object safe. - Adds the
infocommand metadata. - Adds the
namecommand metadata. Event<A>arguments.
Type Aliases§
- Read-write command metadata variable.
- Registered commands set.
- Read-only command metadata variable.