Re-exports§
pub use bedrock::dict_ext::DictExt;
pub use bedrock::dict_ext::GenericRouterResponse;
pub use bedrock::lazy_get::LazyGet;
pub use bedrock::weak_instance_token_ext::test_invalid_instance_token;
pub use bedrock::weak_instance_token_ext::WeakInstanceTokenExt;
pub use bedrock::with_availability::WithAvailability;
pub use bedrock::with_default::WithDefault;
pub use bedrock::with_error_reporter::WithErrorReporter;
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§
- Performs a debug route from the
target
for the capability defined inrequest
. The source of the route is returned if the route is valid, otherwise a routing error is returned. - 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.