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§

source

fn clone_box(&self) -> Box<dyn ErrorClone>

Clone the error.

Trait Implementations§

source§

impl Clone for Box<dyn ErrorClone>

source§

fn clone(&self) -> Box<dyn ErrorClone>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

source§

impl<E> ErrorClone for Ewhere E: Error + Clone + Send + Sync + 'static,