Struct stun_codec::RawAttribute[][src]

pub struct RawAttribute { /* fields omitted */ }

An Attribute implementation that has raw value bytes.

Methods

impl RawAttribute
[src]

Makes a new RawAttribute instance.

Returns a reference to the value bytes of the attribute.

Takes ownership of this instance, and returns the value bytes.

Trait Implementations

impl Debug for RawAttribute
[src]

Formats the value using the given formatter. Read more

impl Clone for RawAttribute
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Attribute for RawAttribute
[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

Auto Trait Implementations