[][src]Struct discortp::rtp::Rtp

pub struct Rtp {
    pub version: u2,
    pub padding: u1,
    pub extension: u1,
    pub csrc_count: u4,
    pub marker: u1,
    pub payload_type: RtpType,
    pub sequence: u16be,
    pub timestamp: u32be,
    pub ssrc: u32be,
    pub csrc_list: Vec<u32be>,
    // some fields omitted
}

Packet header for the Real-time Transport Protocol.

This is a test description.

Fields

version: u2padding: u1extension: u1csrc_count: u4marker: u1payload_type: RtpTypesequence: u16betimestamp: u32bessrc: u32becsrc_list: Vec<u32be>

Trait Implementations

impl Clone for Rtp[src]

impl Debug for Rtp[src]

Auto Trait Implementations

impl RefUnwindSafe for Rtp

impl Send for Rtp

impl Sync for Rtp

impl Unpin for Rtp

impl UnwindSafe for Rtp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.