pub trait ErrorClone:
Error
+ Send
+ Sync
+ 'static {
// Required method
fn clone_box(&self) -> Box<dyn ErrorClone>;
}Expand description
An error that can be cloned.
Required Methods§
Sourcefn clone_box(&self) -> Box<dyn ErrorClone>
fn clone_box(&self) -> Box<dyn ErrorClone>
Clone the error.
Trait Implementations§
Source§impl Clone for Box<dyn ErrorClone>
impl Clone for Box<dyn ErrorClone>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more