pub trait CopyError {
// Required method
fn copy_error_impl(
&mut self,
dest_arena: &mut TypeArena,
clone_state: &mut CloneState,
);
}Expand description
Faithful realization of the if constexpr type switch in copyError.
One impl per error kind, each carrying exactly the branch body from the
C++ source.
Required Methods§
fn copy_error_impl( &mut self, dest_arena: &mut TypeArena, clone_state: &mut CloneState, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".