routing::mapper

Trait DebugRouteMapper

Source
pub trait DebugRouteMapper: Send + Sync {
    // Provided methods
    fn add_use(&mut self, moniker: Moniker, use_decl: &UseDecl) { ... }
    fn add_offer(&mut self, moniker: Moniker, offer_decl: &OfferDecl) { ... }
    fn add_expose(&mut self, moniker: Moniker, expose_decl: ExposeDecl) { ... }
    fn add_registration(
        &mut self,
        moniker: Moniker,
        registration_decl: &RegistrationDecl,
    ) { ... }
    fn add_component_capability(
        &mut self,
        moniker: Moniker,
        capability_decl: &CapabilityDecl,
    ) { ... }
    fn add_framework_capability(&mut self, capability_name: Name) { ... }
    fn add_builtin_capability(&mut self, capability_decl: &CapabilityDecl) { ... }
    fn add_namespace_capability(&mut self, capability_decl: &CapabilityDecl) { ... }
}
Expand description

Provides methods to record and retrieve a summary of a capability route.

Provided Methods§

Source

fn add_use(&mut self, moniker: Moniker, use_decl: &UseDecl)

Source

fn add_offer(&mut self, moniker: Moniker, offer_decl: &OfferDecl)

Source

fn add_expose(&mut self, moniker: Moniker, expose_decl: ExposeDecl)

Source

fn add_registration( &mut self, moniker: Moniker, registration_decl: &RegistrationDecl, )

Source

fn add_component_capability( &mut self, moniker: Moniker, capability_decl: &CapabilityDecl, )

Source

fn add_framework_capability(&mut self, capability_name: Name)

Source

fn add_builtin_capability(&mut self, capability_decl: &CapabilityDecl)

Source

fn add_namespace_capability(&mut self, capability_decl: &CapabilityDecl)

Implementors§