Crate rearch Copy item path Source CapsuleHandle The handle given to Capsule
s in order to Capsule::build
their Capsule::Data
.
See CapsuleReader
and SideEffectRegistrar
for more. CapsuleReader Allows you to read the current data of capsules based on the given state of the container txn. Container Containers store the current data and state of the data flow graph created by capsules
and their dependencies/dependents.
See the README for more. ListenerHandle Represents a handle onto a particular listener, as created with Container::listen
. MockCapsuleReaderBuilder Used to build a mocked CapsuleReader
for use in unit testing capsules. SideEffectRegistrar Registers the given side effect and returns its build api.
You can only call register once on purpose (it consumes self);
to register multiple side effects, simply pass them in together! CData Shorthand for Clone + Send + Sync + 'static
,
which makes returning impl Trait
far easier from capsules,
where Trait
is often an Fn
from side effects. Capsule Capsules are blueprints for creating some immutable data
and do not actually contain any data themselves.
See the documentation for more. CapsuleKey Represents a static or dynamic capsule key. See Capsule::key
. CapsulesWithCloneRead A list of capsules with cloneable data.
This is either a singular capsule, like foo_capsule
,
or a tuple, like (foo_capsule, bar_capsule)
. CapsulesWithRefRead A list of capsules that can be read via a ref.
This is either a singular capsule, like foo_capsule
,
or a tuple, like (foo_capsule, bar_capsule)
. SideEffect Represents a side effect that can be utilized within the build function.