Enum cros_codecs::decoders::DecoderEvent
source · pub enum DecoderEvent<'a> {
FrameReady(Box<dyn DecodedHandle>),
FormatChanged(Box<dyn DecoderFormatNegotiator<'a> + 'a>),
}
Expand description
Events that can be retrieved using the next_event
method of a decoder.
Variants§
FrameReady(Box<dyn DecodedHandle>)
The next frame has been decoded.
FormatChanged(Box<dyn DecoderFormatNegotiator<'a> + 'a>)
The format of the stream has changed and action is required.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DecoderEvent<'a>
impl<'a> !Send for DecoderEvent<'a>
impl<'a> !Sync for DecoderEvent<'a>
impl<'a> Unpin for DecoderEvent<'a>
impl<'a> !UnwindSafe for DecoderEvent<'a>
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