enough_token_destroy

Function enough_token_destroy 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn enough_token_destroy( token: *mut FfiCancellationToken, )
Expand description

Destroy a token.

ยงSafety

  • token must be a valid pointer returned by enough_token_create, or null (which is a no-op)
  • The pointer must not be used after this call