Trait Error

Source
pub trait Error {
    // Required methods
    fn code(&self) -> Option<ErrorCode>;
    fn description(&self) -> &'static str;
    fn source(&self) -> &'static str;
    fn cstr_description(&self) -> *const u8;
    fn cstr_source(&self) -> *const u8;
}

Required Methods§

Source

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

Source

fn description(&self) -> &'static str

Source

fn source(&self) -> &'static str

Source

fn cstr_description(&self) -> *const u8

Source

fn cstr_source(&self) -> *const u8

Implementors§