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

pub struct DontFragment;

DONT-FRAGMENT attribute.

See RFC 5766 -- 14.8. DONT-FRAGMENT about this attribute.

Methods

impl DontFragment
[src]

CODEPOINT: u16 = 26

The codepoint of the type of the attribute.

Trait Implementations

impl Debug for DontFragment
[src]

Formats the value using the given formatter. Read more

impl Clone for DontFragment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DontFragment
[src]

impl PartialEq for DontFragment
[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 DontFragment
[src]

impl Hash for DontFragment
[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 DontFragment
[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<DontFragment> for Attribute
[src]

Performs the conversion.

impl TryAsRef<DontFragment> for Attribute
[src]

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

Auto Trait Implementations