Skip to main content

handle_downcast_failed_in

Function handle_downcast_failed_in 

Source
pub fn handle_downcast_failed_in<T: TypedExternal>(
    ptr: &ExternalPtr<()>,
    trait_method: &str,
) -> !
Expand description

handle_downcast_failed for a trait-impl method receiver: the same consumed / restored errors, and a mismatch message naming the trait method (Trait::method()).