Module medea_jason::utils
source · Expand description
Miscellaneous utility structs and functions.
Re-exports
pub use self::errors::Caused;
Modules
- Implementation of the
Component
.
Structs
- Component is a base that helps managing reactive components.
- Handler to delay which can be stopped and started over again
Duration
.
Traits
- Abstraction over a state which can be transformed to the states from the
medea_client_api_proto::state
. - Representation of an error caused by FFI side.
- Abstraction of state which can be updated or created by the
medea_client_api_proto::state
. - Abstraction over a state which can be updated by a client side.
Functions
- Returns
Future
that will be resolved after providedDuration
andResettableDelayHandle
that allows you to control delay future. - Returns
Future
which will return the provided value beingGuarded::transpose()
d.
Derive Macros
- Generate implementation of
Caused
trait for errors represented as enum.