Trait rustler::Nif

source ·
pub trait Nif {
    const NAME: *const c_char;
    const ARITY: c_uint;
    const FLAGS: c_uint;
    const FUNC: DEF_NIF_FUNC;
    const RAW_FUNC: unsafe extern "C" fn(nif_env: NIF_ENV, argc: c_int, argv: *const NIF_TERM) -> NIF_TERM;
}

Required Associated Constants§

source

const NAME: *const c_char

source

const ARITY: c_uint

source

const FLAGS: c_uint

source

const FUNC: DEF_NIF_FUNC

source

const RAW_FUNC: unsafe extern "C" fn(nif_env: NIF_ENV, argc: c_int, argv: *const NIF_TERM) -> NIF_TERM

Object Safety§

This trait is not object safe.

Implementors§