pub trait Attribute:
Debug
+ Sync
+ Send {
// Required methods
fn get_type(&self) -> AttributeType;
fn length(&self) -> u16;
}Expand description
A STUN attribute for use in Messages
Required Methods§
Sourcefn get_type(&self) -> AttributeType
fn get_type(&self) -> AttributeType
Retrieve the type of an Attribute.