Trait ErrorCode

Source
pub trait ErrorCode:
    Error
    + Debug
    + Send
    + Sync
    + 'static {
    // Required method
    fn code(&self) -> Option<u32>;
}

Required Methods§

Source

fn code(&self) -> Option<u32>

Implementors§