[][src]Struct audiopus::repacketizer::Repacketizer

pub struct Repacketizer { /* fields omitted */ }

Methods

impl Repacketizer[src]

pub fn new() -> Self[src]

pub fn nb_frames(&self) -> usize[src]

pub fn repacketizer_out<'a, TP>(&self, data_out: TP, max_len: i32) -> Result<()> where
    TP: TryInto<MutPacket<'a>>, 
[src]

pub fn repacketizer_out_range<'a, TP>(
    &self,
    begin: i32,
    end: i32,
    data_out: TP,
    max_len: i32
) -> Result<()> where
    TP: TryInto<MutPacket<'a>>, 
[src]

pub fn repacketizer_cat<'a, TP>(&self, data: TP) -> Result<()> where
    TP: TryInto<Packet<'a>>, 
[src]

Trait Implementations

impl Drop for Repacketizer[src]

fn drop(&mut self)[src]

We have to ensure that the resource our wrapping Opus-struct is pointing to is deallocated properly.

impl Default for Repacketizer[src]

impl Debug for Repacketizer[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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