Struct stun_codec::rfc5766::attributes::ReservationToken[][src]

pub struct ReservationToken(_);

RESERVATION-TOKEN attribute.

See RFC 5766 -- 14.9. RESERVATION-TOKEN about this attribute.

Methods

impl ReservationToken
[src]

CODEPOINT: u16 = 34

The codepoint of the type of the attribute.

Makes a new ReservationToken instance.

Returns the token value contained by the attribute.

Trait Implementations

impl Debug for ReservationToken
[src]

Formats the value using the given formatter. Read more

impl Clone for ReservationToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ReservationToken
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ReservationToken
[src]

impl Hash for ReservationToken
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Attribute for ReservationToken
[src]

The decoder of the value part of the attribute.

The encoder of the value part of the attribute.

Returns the type of the attribute.

This method is called before encoding the attribute. Read more

This method is called after decoding the attribute and before being appended to the given message. Read more

impl From<ReservationToken> for Attribute
[src]

Performs the conversion.

impl TryAsRef<ReservationToken> for Attribute
[src]

Attempts to convert self to a reference to T. Read more

Auto Trait Implementations