#[repr(C)]pub struct WS_CHANNEL_ENCODER {
pub createContext: *mut c_void,
pub createEncoderCallback: WS_CREATE_ENCODER_CALLBACK,
pub encoderGetContentTypeCallback: WS_ENCODER_GET_CONTENT_TYPE_CALLBACK,
pub encoderStartCallback: WS_ENCODER_START_CALLBACK,
pub encoderEncodeCallback: WS_ENCODER_ENCODE_CALLBACK,
pub encoderEndCallback: WS_ENCODER_END_CALLBACK,
pub freeEncoderCallback: WS_FREE_ENCODER_CALLBACK,
}
Fields§
§createContext: *mut c_void
§createEncoderCallback: WS_CREATE_ENCODER_CALLBACK
§encoderGetContentTypeCallback: WS_ENCODER_GET_CONTENT_TYPE_CALLBACK
§encoderStartCallback: WS_ENCODER_START_CALLBACK
§encoderEncodeCallback: WS_ENCODER_ENCODE_CALLBACK
§encoderEndCallback: WS_ENCODER_END_CALLBACK
§freeEncoderCallback: WS_FREE_ENCODER_CALLBACK
Trait Implementations§
§impl Clone for WS_CHANNEL_ENCODER
impl Clone for WS_CHANNEL_ENCODER
§fn clone(&self) -> WS_CHANNEL_ENCODER
fn clone(&self) -> WS_CHANNEL_ENCODER
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_ENCODER
Auto Trait Implementations§
impl Freeze for WS_CHANNEL_ENCODER
impl RefUnwindSafe for WS_CHANNEL_ENCODER
impl !Send for WS_CHANNEL_ENCODER
impl !Sync for WS_CHANNEL_ENCODER
impl Unpin for WS_CHANNEL_ENCODER
impl UnwindSafe for WS_CHANNEL_ENCODER
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
)