Struct stun_codec::MessageDecoder[][src]

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

Message decoder.

Methods

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

Makes a new MessageDecoder instance.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns the "default value" for a type. Read more

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

The type of items to be decoded.

Consumes the given buffer (a part of a byte sequence), and proceeds the decoding process. Read more

Finishes the current decoding process and returns the decoded item. Read more

Returns the lower bound of the number of bytes needed to decode the next item. Read more

Returns true if there are no items to be decoded by the decoder at the next invocation of decode method, otherwise false. Read more

Auto Trait Implementations

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

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