pub type WS_CLOSE_CHANNEL_CALLBACK = Option<unsafe extern "system" fn(channelinstance: *const c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> HRESULT>;

Aliased Type§

enum WS_CLOSE_CHANNEL_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: *const c_void, _: *const WS_ASYNC_CONTEXT, _: *const WS_ERROR) -> HRESULT),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *const c_void, _: *const WS_ASYNC_CONTEXT, _: *const WS_ERROR) -> HRESULT)

Some value of type T.