Struct retina::PacketContext
source · pub struct PacketContext(/* private fields */);
Expand description
Context for an RTP or RTCP packet, received either via RTSP interleaved data or UDP.
Should be paired with an ConnectionContext
of the RTSP connection that started
the session. In the interleaved data case, it’s assumed the packet was received over
that same connection.
Trait Implementations§
source§impl Clone for PacketContext
impl Clone for PacketContext
source§fn clone(&self) -> PacketContext
fn clone(&self) -> PacketContext
Returns a copy 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 PacketContext
impl Debug for PacketContext
source§impl Display for PacketContext
impl Display for PacketContext
impl Copy for PacketContext
Auto Trait Implementations§
impl Freeze for PacketContext
impl RefUnwindSafe for PacketContext
impl Send for PacketContext
impl Sync for PacketContext
impl Unpin for PacketContext
impl UnwindSafe for PacketContext
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