[][src]Trait sn_ffi_utils::ErrorCode

pub trait ErrorCode {
    fn error_code(&self) -> i32;
}

Trait for types that can be converted to integer error code.

Required methods

fn error_code(&self) -> i32

Return the error code corresponding to this instance.

Loading content...

Implementors

impl ErrorCode for TestError[src]

Loading content...