[][src]Struct gstreamer_rtp::rtp_buffer::RTPBuffer

pub struct RTPBuffer<'a, T> { /* fields omitted */ }

Methods

impl<'a> RTPBuffer<'a, Readable>[src]

pub fn from_buffer_readable(
    buffer: &Buffer
) -> Result<RTPBuffer<Readable>, BoolError>
[src]

impl<'a> RTPBuffer<'a, Writable>[src]

pub fn from_buffer_writable(
    buffer: &mut Buffer
) -> Result<RTPBuffer<Writable>, BoolError>
[src]

pub fn set_seq(&mut self, seq: u16)[src]

pub fn set_payload_type(&mut self, pt: u8)[src]

pub fn set_timestamp(&mut self, rtptime: u32)[src]

impl<'a, T> RTPBuffer<'a, T>[src]

pub fn get_seq(&mut self) -> u16[src]

pub fn get_payload_type(&mut self) -> u8[src]

pub fn get_timestamp(&mut self) -> u32[src]

Trait Implementations

impl<'a, T> Debug for RTPBuffer<'a, T>[src]

impl<'a, T> Drop for RTPBuffer<'a, T>[src]

impl<'a, T> Send for RTPBuffer<'a, T>[src]

impl<'a, T> Sync for RTPBuffer<'a, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for RTPBuffer<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Unpin for RTPBuffer<'a, T> where
    T: Unpin

impl<'a, T> UnwindSafe for RTPBuffer<'a, T> where
    T: UnwindSafe

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, 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.