Skip to main content

FfiResult

Trait FfiResult 

pub trait FfiResult<T> {
    // Required method
    fn to_ffi_code(self) -> i32;
}
Expand description

Extension trait for converting Results to FFI codes

Required Methods§

fn to_ffi_code(self) -> i32

Implementations on Foreign Types§

§

impl<T> FfiResult<T> for Result<T, XetError>

§

fn to_ffi_code(self) -> i32

Implementors§