[−][src]Struct audiopus::repacketizer::Repacketizer
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]
TP: TryInto<MutPacket<'a>>,
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]
&self,
begin: i32,
end: i32,
data_out: TP,
max_len: i32
) -> Result<()> where
TP: TryInto<MutPacket<'a>>,
pub fn repacketizer_cat<'a, TP>(&self, data: TP) -> Result<()> where
TP: TryInto<Packet<'a>>,
[src]
TP: TryInto<Packet<'a>>,
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
impl !Send for Repacketizer
impl !Sync for Repacketizer
impl Unpin for Repacketizer
impl UnwindSafe for Repacketizer
impl RefUnwindSafe for Repacketizer
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,