Expand description
Packet represents an RTP Packet NOTE: Raw is populated by Marshal/Unmarshal and should not be modified
Fields
header: Headerpayload: BytesTrait Implementations
sourceimpl MarshalSize for Packet
impl MarshalSize for Packet
sourcefn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
MarshalSize returns the size of the packet once marshaled.
sourceimpl PartialEq<Packet> for Packet
impl PartialEq<Packet> for Packet
impl Eq for Packet
impl StructuralEq for Packet
impl StructuralPartialEq for Packet
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more