Trait sfo_sql::mysql::ErrorMap

source ·
pub trait ErrorMap:
    'static
    + Clone
    + Send
    + Sync {
    type OutError;
    type InError;

    // Required method
    fn map(e: Self::InError, msg: &str) -> Self::OutError;
}

Required Associated Types§

Required Methods§

source

fn map(e: Self::InError, msg: &str) -> Self::OutError

Object Safety§

This trait is not object safe.

Implementors§