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§
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.