#[repr(u8)]pub enum DataType {
Show 24 variants
OctetArray = 0,
Unsigned8 = 1,
Unsigned16 = 2,
Unsigned32 = 3,
Unsigned64 = 4,
Signed8 = 5,
Signed16 = 6,
Signed32 = 7,
Signed64 = 8,
Float32 = 9,
Float64 = 10,
Boolean = 11,
MacAddress = 12,
String = 13,
DateTimeSeconds = 14,
DateTimeMilliseconds = 15,
DateTimeMicroseconds = 16,
DateTimeNanoseconds = 17,
Ipv4Address = 18,
Ipv6Address = 19,
BasicList = 20,
SubTemplateList = 21,
SubTemplateMultiList = 22,
Unsigned256 = 23,
}Expand description
IPFIX abstract data type - RFC 7012 Section 3.1
IANA “IPFIX Information Element Data Types” registry. The discriminant is the IANA registry value.
Variants§
OctetArray = 0
Unsigned8 = 1
Unsigned16 = 2
Unsigned32 = 3
Unsigned64 = 4
Signed8 = 5
Signed16 = 6
Signed32 = 7
Signed64 = 8
Float32 = 9
Float64 = 10
Boolean = 11
MacAddress = 12
String = 13
DateTimeSeconds = 14
DateTimeMilliseconds = 15
DateTimeMicroseconds = 16
DateTimeNanoseconds = 17
Ipv4Address = 18
Ipv6Address = 19
BasicList = 20
SubTemplateList = 21
SubTemplateMultiList = 22
Unsigned256 = 23
Implementations§
Trait Implementations§
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more