stun_codec/rfc5766/
mod.rs

1//! [RFC 5766(TURN)][RFC 5766] specific components.
2//!
3//! [RFC 5766]: https://tools.ietf.org/html/rfc5766
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        ChannelNumber,
16        Lifetime,
17        XorPeerAddress,
18        Data,
19        XorRelayAddress,
20        EvenPort,
21        RequestedTransport,
22        DontFragment,
23        ReservationToken
24    ]
25);