pub type crypt_token_validate_func = Option<unsafe extern "C" fn(cd: *mut crypt_device, json: *const c_char) -> c_int>;

Aliased Type§

enum crypt_token_validate_func {
    None,
    Some(unsafe extern "C" fn(_: *mut crypt_device, _: *const i8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut crypt_device, _: *const i8) -> i32)

Some value of type T.