[][src]Trait audiopus::TryInto

pub trait TryInto<T>: Sized {
    type Error;
    fn try_into(self) -> Result<T>;
}

While TryInto is nightly, we use our own implementation to stay stable.

Associated Types

type Error

Loading content...

Required methods

fn try_into(self) -> Result<T>

Loading content...

Implementations on Foreign Types

impl<'a> TryInto<Packet<'a>> for &'a Vec<u8>[src]

type Error = Error

impl<'a> TryInto<Packet<'a>> for &'a [u8][src]

type Error = Error

impl<'a> TryInto<MutPacket<'a>> for &'a mut Vec<u8>[src]

type Error = Error

impl<'a> TryInto<MutPacket<'a>> for &'a mut [u8][src]

type Error = Error

impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut [T][src]

type Error = Error

fn try_into(self) -> Result<MutSignals<'a, T>>[src]

Fails if passed self's length is greater than std::i32::MAX.

impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut Vec<T>[src]

type Error = Error

fn try_into(self) -> Result<MutSignals<'a, T>>[src]

Fails if passed self's length is greater than std::i32::MAX.

Loading content...

Implementors

impl<'a> TryInto<&'a MutPacket<'a>> for &'a MutPacket<'a>[src]

type Error = Error

impl<'a> TryInto<Packet<'a>> for &'a Packet<'a>[src]

type Error = Error

impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut MutSignals<'a, T>[src]

type Error = Error

fn try_into(self) -> Result<MutSignals<'a, T>>[src]

Conversion from MutSignals to MutSignals should never fail.

Loading content...