pub trait MapError<T> {
    // Required method
    fn map_to_app_error(self, message: &str) -> Result<T, AppError>;
}

Required Methods§

source

fn map_to_app_error(self, message: &str) -> Result<T, AppError>

Implementations on Foreign Types§

source§

impl<T, E: Display> MapError<T> for Result<T, E>

source§

fn map_to_app_error(self, message: &str) -> Result<T, AppError>

Implementors§