pub enum MacAddrFormat {
Canonical,
ColonNotation,
DotNotation,
Hexadecimal,
Hexadecimal0x,
}Variants§
Canonical
AA-BB-CC-DD-EE-FF (17 bytes) or AA-BB-CC-DD-EE-FF-GG-HH (23 bytes)
ColonNotation
AA:BB:CC:DD:EE:FF (17 bytes) or AA:BB:CC:DD:EE:FF:GG:HH (23 bytes)
DotNotation
AABB.CCDD.EEFF (14 bytes) or AABB.CCDD.EEFF.GGHH (19 bytes)
Hexadecimal
AABBCCDDEEFF (12 bytes) or AABBCCDDEEFFGGHH (16 bytes)
Hexadecimal0x
0xAABBCCDDEEFF (14 bytes) or 0xAABBCCDDEEFFGGHH (18 bytes)
Trait Implementations§
Source§impl Clone for MacAddrFormat
impl Clone for MacAddrFormat
Source§fn clone(&self) -> MacAddrFormat
fn clone(&self) -> MacAddrFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for MacAddrFormat
impl PartialEq for MacAddrFormat
impl Copy for MacAddrFormat
impl Eq for MacAddrFormat
impl StructuralPartialEq for MacAddrFormat
Auto Trait Implementations§
impl Freeze for MacAddrFormat
impl RefUnwindSafe for MacAddrFormat
impl Send for MacAddrFormat
impl Sync for MacAddrFormat
impl Unpin for MacAddrFormat
impl UnwindSafe for MacAddrFormat
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