routing::legacy_router

Trait ErrorNotFoundInChild

Source
pub trait ErrorNotFoundInChild {
    // Required method
    fn error_not_found_in_child(
        decl_site_moniker: Moniker,
        child_moniker: ChildName,
        capability_name: Name,
    ) -> RoutingError;
}
Expand description

Implemented by declaration types to emit a proper error when a matching expose is not found in the child.

Required Methods§

Source

fn error_not_found_in_child( decl_site_moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ErrorNotFoundInChild for ExposeDecl

Source§

fn error_not_found_in_child( moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundInChild for OfferDecl

Source§

fn error_not_found_in_child( moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundInChild for UseDecl

Source§

fn error_not_found_in_child( moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundInChild for ResolverRegistration

Source§

fn error_not_found_in_child( moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundInChild for RunnerRegistration

Source§

fn error_not_found_in_child( moniker: Moniker, child_moniker: ChildName, capability_name: Name, ) -> RoutingError

Implementors§