pub enum EncoderEvent {
RequireInputBuffers {
input_count: u32,
input_frame_width: u32,
input_frame_height: u32,
output_buffer_size: u32,
},
ProcessedInputBuffer {
id: u32,
},
ProcessedOutputBuffer {
id: u32,
bytesused: u32,
keyframe: bool,
timestamp: u64,
},
FlushResponse {
flush_done: bool,
},
NotifyError {
error: VideoError,
},
}Variants§
RequireInputBuffers
ProcessedInputBuffer
ProcessedOutputBuffer
FlushResponse
NotifyError
Fields
§
error: VideoErrorTrait Implementations§
Auto Trait Implementations§
impl Freeze for EncoderEvent
impl RefUnwindSafe for EncoderEvent
impl Send for EncoderEvent
impl Sync for EncoderEvent
impl Unpin for EncoderEvent
impl UnwindSafe for EncoderEvent
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