Struct stun_codec::rfc5389::attributes::Software[][src]

pub struct Software { /* fields omitted */ }

SOFTWARE attribute.

See RFC 5389 -- 15.10. SOFTWARE about this attribute.

Methods

impl Software
[src]

CODEPOINT: u16 = 32802

The codepoint of the type of the attribute.

Makes a new Software instance.

Errors

The length of description must be less than 128 characters. If it is too long, this will return an ErrorKind::InvalidInput error.

Returns the description of this instance.

Trait Implementations

impl Debug for Software
[src]

Formats the value using the given formatter. Read more

impl Clone for Software
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Performs the conversion.

impl TryAsRef<Software> for Attribute
[src]

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

Auto Trait Implementations

impl Send for Software

impl Sync for Software