ErrorClone

Trait ErrorClone 

Source
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.

Implementors§

Source§

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