Skip to main content

ErrorKind

Trait ErrorKind 

Source
pub trait ErrorKind: Debug + 'static {
    // Required methods
    fn tp(&self) -> ResultType;
    fn signature(&self) -> &'static str;
}

Required Methods§

Source

fn tp(&self) -> ResultType

Defines type of the error

Source

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

Error signature

Implementors§