pub struct H264Packet {
pub is_avc: bool,
/* private fields */
}
Expand description
H264Packet represents the H264 header that is stored in the payload of an RTP Packet
Fields§
§is_avc: bool
Trait Implementations§
Source§impl Clone for H264Packet
impl Clone for H264Packet
Source§fn clone(&self) -> H264Packet
fn clone(&self) -> H264Packet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for H264Packet
impl Debug for H264Packet
Source§impl Default for H264Packet
impl Default for H264Packet
Source§fn default() -> H264Packet
fn default() -> H264Packet
Returns the “default value” for a type. Read more
Source§impl Depacketizer for H264Packet
impl Depacketizer for H264Packet
Source§fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
depacketize parses the passed byte slice and stores the result in the H264Packet this method is called upon
Source§fn is_partition_head(&self, payload: &Bytes) -> bool
fn is_partition_head(&self, payload: &Bytes) -> bool
is_partition_head checks if this is the head of a packetized nalu stream.
Source§impl PartialEq for H264Packet
impl PartialEq for H264Packet
impl Eq for H264Packet
impl StructuralPartialEq for H264Packet
Auto Trait Implementations§
impl Freeze for H264Packet
impl RefUnwindSafe for H264Packet
impl Send for H264Packet
impl Sync for H264Packet
impl Unpin for H264Packet
impl UnwindSafe for H264Packet
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