Struct webrtc_media::io::h264_reader::H264Reader
source · pub struct H264Reader<R: Read> { /* private fields */ }
Expand description
H264Reader reads data from stream and constructs h264 nal units
Implementations§
source§impl<R: Read> H264Reader<R>
impl<R: Read> H264Reader<R>
sourcepub fn new(reader: R, capacity: usize) -> H264Reader<R>
pub fn new(reader: R, capacity: usize) -> H264Reader<R>
new creates new H264Reader
with capacity
sized read buffer.
Auto Trait Implementations§
impl<R> RefUnwindSafe for H264Reader<R>where
R: RefUnwindSafe,
impl<R> Send for H264Reader<R>where
R: Send,
impl<R> Sync for H264Reader<R>where
R: Sync,
impl<R> Unpin for H264Reader<R>where
R: Unpin,
impl<R> UnwindSafe for H264Reader<R>where
R: UnwindSafe,
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