Struct rtp::packet::Packet [−][src]
Expand description
Packet represents an RTP Packet NOTE: Raw is populated by Marshal/Unmarshal and should not be modified
Fields
header: Headerpayload: BytesTrait Implementations
impl Marshaller for Packet[src]
impl Marshaller for Packet[src]fn unmarshal(raw_packet: &Bytes) -> Result<Self, Error>[src]
fn unmarshal(raw_packet: &Bytes) -> Result<Self, Error>[src]Unmarshal parses the passed byte slice and stores the result in the Header this method is called upon
fn marshal_size(&self) -> usize[src]
fn marshal_size(&self) -> usize[src]MarshalSize returns the size of the packet once marshaled.
impl Eq for Packet[src]
impl StructuralEq for Packet[src]
impl StructuralPartialEq for Packet[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,