pub struct RawPacket(pub Bytes);
Expand description
RawPacket represents an unparsed RTCP packet. It’s returned by Unmarshal when a packet with an unknown type is encountered.
Tuple Fields§
§0: Bytes
Trait Implementations§
Source§impl MarshalSize for RawPacket
impl MarshalSize for RawPacket
fn marshal_size(&self) -> usize
Source§impl Packet for RawPacket
impl Packet for RawPacket
impl Eq for RawPacket
impl StructuralPartialEq for RawPacket
Auto Trait Implementations§
impl !Freeze for RawPacket
impl RefUnwindSafe for RawPacket
impl Send for RawPacket
impl Sync for RawPacket
impl Unpin for RawPacket
impl UnwindSafe for RawPacket
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