pub enum SupportedAttributeTypes {
Show 17 variants
AsciiString,
ByteString,
Integer,
Integer64,
Date,
IPv4Addr,
IPv4Prefix,
IPv6Addr,
IPv6Prefix,
InterfaceId,
Enum,
Tlv,
Vsa,
Evs,
Concat,
Extended,
LongExtended,
}Expand description
Represents a list of supported data types as defined in RFC 2865 & RFC 8044
Variants
AsciiString
Rust’s String; RFC 8044 calls this “text” - UTF-8 text
ByteString
Rusts’s u8; RFC 8044 calls this “string” (FreeRADIUS calls this “octets”) - binary data as a sequence of undistinguished octets
Integer
Rust’s u32
Integer64
Rust’s u64
Date
Rust’s u32; RFC 8044 calls this “time”
IPv4Addr
Rust’s [u8;4]
IPv4Prefix
Rust’s [u8;5]
IPv6Addr
Rust’s [u8;16]
IPv6Prefix
Rust’s [u8;18]
InterfaceId
Rust’s [u8;6]; RFC 8044 calls this “ifid”
Enum
Rust’s u32
Tlv
Rust’s u8
Vsa
Rust’s u8; RFC 8044 defines this as vendor-specific data
Evs
Rust’s u8; RFC 8044 defines this as Extended-Vendor-Specific Attribute (FreeRADIUS accepts VSA instead of EVS data type)
Concat
Rust’s u8; Doesn’t look like a type on its own, but rather an extension to some data types (in FreeRADIUS this is a flag) usually string/octets
Extended
Rust’s u8; Doesn’t look like a type on its own, but rather an extension to some data types (in FreeRADIUS this is a flag)
LongExtended
Rust’s u8; Doesn’t look like a type on its own, but rather an extension to some data types (in FreeRADIUS this is a flag)
Trait Implementations
sourceimpl Debug for SupportedAttributeTypes
impl Debug for SupportedAttributeTypes
impl StructuralPartialEq for SupportedAttributeTypes
Auto Trait Implementations
impl RefUnwindSafe for SupportedAttributeTypes
impl Send for SupportedAttributeTypes
impl Sync for SupportedAttributeTypes
impl Unpin for SupportedAttributeTypes
impl UnwindSafe for SupportedAttributeTypes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more