Function rshark::ethernet::mac_address [] [src]

pub fn mac_address(raw: &[u8]) -> Result<Val>

Parse a six-byte MAC address, which can be encoded as, e.g., ff:ff:ff:ff:ff:ff.