#[repr(C)]pub struct WS_CHANNEL_DECODER {
pub createContext: *mut c_void,
pub createDecoderCallback: WS_CREATE_DECODER_CALLBACK,
pub decoderGetContentTypeCallback: WS_DECODER_GET_CONTENT_TYPE_CALLBACK,
pub decoderStartCallback: WS_DECODER_START_CALLBACK,
pub decoderDecodeCallback: WS_DECODER_DECODE_CALLBACK,
pub decoderEndCallback: WS_DECODER_END_CALLBACK,
pub freeDecoderCallback: WS_FREE_DECODER_CALLBACK,
}
Fields§
§createContext: *mut c_void
§createDecoderCallback: WS_CREATE_DECODER_CALLBACK
§decoderGetContentTypeCallback: WS_DECODER_GET_CONTENT_TYPE_CALLBACK
§decoderStartCallback: WS_DECODER_START_CALLBACK
§decoderDecodeCallback: WS_DECODER_DECODE_CALLBACK
§decoderEndCallback: WS_DECODER_END_CALLBACK
§freeDecoderCallback: WS_FREE_DECODER_CALLBACK
Trait Implementations§
§impl Clone for WS_CHANNEL_DECODER
impl Clone for WS_CHANNEL_DECODER
§fn clone(&self) -> WS_CHANNEL_DECODER
fn clone(&self) -> WS_CHANNEL_DECODER
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for WS_CHANNEL_DECODER
Auto Trait Implementations§
impl Freeze for WS_CHANNEL_DECODER
impl RefUnwindSafe for WS_CHANNEL_DECODER
impl !Send for WS_CHANNEL_DECODER
impl !Sync for WS_CHANNEL_DECODER
impl Unpin for WS_CHANNEL_DECODER
impl UnwindSafe for WS_CHANNEL_DECODER
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)