pub type WS_PUSH_BYTES_CALLBACK = Option<unsafe extern "system" fn(callbackstate: *const c_void, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> HRESULT>;

Aliased Type§

enum WS_PUSH_BYTES_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: *const c_void, _: Option<unsafe extern "system" fn(_: *const c_void, _: *const WS_BYTES, _: u32, _: *const WS_ASYNC_CONTEXT, _: *const WS_ERROR) -> HRESULT>, _: *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, _: Option<unsafe extern "system" fn(_: *const c_void, _: *const WS_BYTES, _: u32, _: *const WS_ASYNC_CONTEXT, _: *const WS_ERROR) -> HRESULT>, _: *const c_void, _: *const WS_ASYNC_CONTEXT, _: *const WS_ERROR) -> HRESULT)

Some value of type T.