Struct h264_reader::nal::sei::SeiReader
source · pub struct SeiReader<'a, R: BufRead + Clone> { /* private fields */ }
Expand description
Reader of messages in an SEI NAL.
Implementations§
source§impl<'a, R: BufRead + Clone> SeiReader<'a, R>
impl<'a, R: BufRead + Clone> SeiReader<'a, R>
pub fn from_rbsp_bytes(reader: R, scratch: &'a mut Vec<u8>) -> Self
sourcepub fn next(&mut self) -> Result<Option<SeiMessage<'_>>, BitReaderError>
pub fn next(&mut self) -> Result<Option<SeiMessage<'_>>, BitReaderError>
Returns the next payload.
This is unfortunately not compatible with std::iter::Iterator
because
of lifetime constraints.
Auto Trait Implementations§
impl<'a, R> Freeze for SeiReader<'a, R>where
R: Freeze,
impl<'a, R> RefUnwindSafe for SeiReader<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for SeiReader<'a, R>where
R: Send,
impl<'a, R> Sync for SeiReader<'a, R>where
R: Sync,
impl<'a, R> Unpin for SeiReader<'a, R>where
R: Unpin,
impl<'a, R> !UnwindSafe for SeiReader<'a, R>
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