stun_codec/rfc5389/
mod.rs

1//! [RFC 5389(STUN)][RFC 5389] specific components.
2//!
3//! [RFC 5389]: https://tools.ietf.org/html/rfc5389
4use self::attributes::*;
5
6pub mod attributes;
7pub mod errors;
8pub mod methods;
9
10define_attribute_enums!(
11    Attribute,
12    AttributeDecoder,
13    AttributeEncoder,
14    [
15        MappedAddress,
16        Username,
17        MessageIntegrity,
18        ErrorCode,
19        UnknownAttributes,
20        Realm,
21        Nonce,
22        XorMappedAddress,
23        XorMappedAddress2,
24        Software,
25        AlternateServer,
26        Fingerprint
27    ]
28);