Struct stun_codec::MessageDecoder[][src]

pub struct MessageDecoder<A: Attribute> { /* fields omitted */ }

Message decoder.

Implementations

impl<A: Attribute> MessageDecoder<A>[src]

pub fn new() -> Self[src]

Makes a new MessageDecoder instance.

Trait Implementations

impl<A: Debug + Attribute> Debug for MessageDecoder<A>[src]

impl<A: Attribute> Decode for MessageDecoder<A>[src]

type Item = DecodedMessage<A>

The type of items to be decoded.

impl<A: Attribute> Default for MessageDecoder<A>[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for MessageDecoder<A>[src]

impl<A> Send for MessageDecoder<A> where
    A: Send,
    <A as Attribute>::Decoder: Send
[src]

impl<A> Sync for MessageDecoder<A> where
    A: Sync,
    <A as Attribute>::Decoder: Sync
[src]

impl<A> Unpin for MessageDecoder<A> where
    A: Unpin,
    <A as Attribute>::Decoder: Unpin
[src]

impl<A> !UnwindSafe for MessageDecoder<A>[src]

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> DecodeExt for T where
    T: Decode
[src]

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

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

impl<T> IoDecodeExt for T where
    T: Decode
[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.