stun_rs::attributes

Trait StunAttributeType

source
pub trait StunAttributeType {
    // Required methods
    fn attribute_type(&self) -> AttributeType;
    fn get_type() -> AttributeType
       where Self: Sized;
}
Expand description

Trait implemented by all StunAttribute

Required Methods§

source

fn attribute_type(&self) -> AttributeType

Returns the STUN attribute type of this instance.

source

fn get_type() -> AttributeType
where Self: Sized,

Returns the STUN attribute type.

Implementors§

source§

impl StunAttributeType for Fingerprint

source§

impl StunAttributeType for MessageIntegrity

source§

impl StunAttributeType for MessageIntegritySha256

source§

impl StunAttributeType for ChangeRequest

source§

impl StunAttributeType for OtherAddress

source§

impl StunAttributeType for Padding

source§

impl StunAttributeType for ResponseOrigin

source§

impl StunAttributeType for ResponsePort

source§

impl StunAttributeType for IceControlled

source§

impl StunAttributeType for IceControlling

source§

impl StunAttributeType for Priority

source§

impl StunAttributeType for UseCandidate

source§

impl StunAttributeType for MobilityTicket

source§

impl StunAttributeType for AlternateServer

source§

impl StunAttributeType for ErrorCode

source§

impl StunAttributeType for MappedAddress

source§

impl StunAttributeType for Nonce

source§

impl StunAttributeType for PasswordAlgorithm

source§

impl StunAttributeType for PasswordAlgorithms

source§

impl StunAttributeType for Realm

source§

impl StunAttributeType for Software

source§

impl StunAttributeType for UnknownAttributes

source§

impl StunAttributeType for UserHash

source§

impl StunAttributeType for UserName

source§

impl StunAttributeType for XorMappedAddress

source§

impl StunAttributeType for AdditionalAddressFamily

source§

impl StunAttributeType for AddressErrorCode

source§

impl StunAttributeType for ChannelNumber

source§

impl StunAttributeType for Data

source§

impl StunAttributeType for DontFragment

source§

impl StunAttributeType for EvenPort

source§

impl StunAttributeType for Icmp

source§

impl StunAttributeType for LifeTime

source§

impl StunAttributeType for RequestedAddressFamily

source§

impl StunAttributeType for RequestedTrasport

source§

impl StunAttributeType for ReservationToken

source§

impl StunAttributeType for XorPeerAddress

source§

impl StunAttributeType for XorRelayedAddress