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