#[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
impl Copy for WS_CHANNEL_ENCODER
Auto Trait Implementations§
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