pub enum DecodeEvent {
Video(DecodedVideoFrame),
Audio(AudioBlock),
Retry,
EndOfStream,
}Expand description
Decoder output and terminal states.
Variants§
Video(DecodedVideoFrame)
Decoded video became available.
Audio(AudioBlock)
Decoded audio became available.
Retry
No exact frame is available yet; retry after feeding more input.
EndOfStream
The selected stream has ended.
Trait Implementations§
Source§impl Clone for DecodeEvent
impl Clone for DecodeEvent
Source§impl Debug for DecodeEvent
impl Debug for DecodeEvent
Source§impl PartialEq for DecodeEvent
impl PartialEq for DecodeEvent
impl StructuralPartialEq for DecodeEvent
Auto Trait Implementations§
impl Freeze for DecodeEvent
impl RefUnwindSafe for DecodeEvent
impl Send for DecodeEvent
impl Sync for DecodeEvent
impl Unpin for DecodeEvent
impl UnsafeUnpin for DecodeEvent
impl UnwindSafe for DecodeEvent
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