Skip to main content

MacAddr

Type Alias MacAddr 

Source
pub type MacAddr = SmallVec<[u8; 6]>;
Expand description

BACnet MAC address — stack-allocated for typical sizes (≤6 bytes).

The data links this stack serves use 1-octet (MS/TP), 3-octet (the B/IPv6 VMAC) and 6-octet (B/IP, Ethernet, the B/SC VMAC) MACs, so SmallVec keeps every one of them inline.

Aliased Type§

pub struct MacAddr { /* private fields */ }