Trait routing::legacy_router::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§
fn error_not_found_in_child( decl_site_moniker: Moniker, child_moniker: ChildName, capability_name: Name ) -> RoutingError
Object Safety§
This trait is not object safe.