Modules§
- Each routing method’s name begins with
route_*
, and is an async function that returns Result<CapabilitySource, RoutingError> , i.e. finds the capability source by walking the route declarations and resolving components if necessary. Routing always walks in the direction from the consuming side to the providing side. - Utilities for manipulating paths.
Structs§
- The accumulated state of routing a Directory capability.
- The data returned after successfully routing a capability to its source.
- Intermediate type to masquerade as Registration-style routing start point for the storage backing directory capability.
Enums§
- An umbrella type for registration decls, making it more convenient to record route maps for debug use.
- A request to route a capability, together with the data needed to do so.
Functions§
- Routes a capability to its source.
- Routes an EventStream capability from
target
to its source, starting fromuse_decl
. - Routes a Storage capability from
target
to its source, starting fromuse_decl
. Returns the StorageDecl and the storage component’s instance. - Verifies that the given component is in the index if its
storage_id
is StaticInstanceId.