Skip to main content

ResultGetOkFn

Type Alias ResultGetOkFn 

Source
pub type ResultGetOkFn = unsafe extern "C" fn(result: PtrConst) -> *const u8;
Expand description

Get the Ok value contained in a result, if present

ยงSafety

The result parameter must point to aligned, initialized memory of the correct type.