Trait ErrorExt

Source
pub trait ErrorExt {
    // Required method
    fn into_generic(self) -> GenericServerError;
}
Expand description

Extension trait for the Error trait for extra functionality

Required Methods§

Source

fn into_generic(self) -> GenericServerError

Converts this error into a generic error

Implementors§

Source§

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