SysErrorCode

Trait SysErrorCode 

Source
pub trait SysErrorCode {
    // Required method
    fn sys_code(&self) -> u16;

    // Provided method
    fn sys_tag(&self) -> &'static str { ... }
}

Required Methods§

Source

fn sys_code(&self) -> u16

Provided Methods§

Source

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

Implementations on Foreign Types§

Source§

impl SysErrorCode for OrionSecReason

Source§

fn sys_code(&self) -> u16

Source§

impl SysErrorCode for SinkReason

Source§

fn sys_code(&self) -> u16

Source§

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

Source§

impl SysErrorCode for SourceReason

Source§

fn sys_code(&self) -> u16

Source§

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

Implementors§