routing::legacy_router

Trait ErrorNotFoundFromParent

Source
pub trait ErrorNotFoundFromParent {
    // Required method
    fn error_not_found_from_parent(
        decl_site_moniker: Moniker,
        capability_name: Name,
    ) -> RoutingError;
}
Expand description

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

Required Methods§

Source

fn error_not_found_from_parent( decl_site_moniker: Moniker, 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 ErrorNotFoundFromParent for OfferDecl

Source§

fn error_not_found_from_parent( moniker: Moniker, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundFromParent for UseDecl

Source§

fn error_not_found_from_parent( moniker: Moniker, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundFromParent for ResolverRegistration

Source§

fn error_not_found_from_parent( moniker: Moniker, capability_name: Name, ) -> RoutingError

Source§

impl ErrorNotFoundFromParent for RunnerRegistration

Source§

fn error_not_found_from_parent( moniker: Moniker, capability_name: Name, ) -> RoutingError

Implementors§