object_downcast

Function object_downcast 

Source
unsafe fn object_downcast<E>(
    e: Ref<'_, ErrorImpl>,
    target: TypeId,
) -> Option<Ref<'_, ()>>
where E: 'static,