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