Enum advmac::MacAddrFormat
source · [−]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
sourceimpl Clone for MacAddrFormat
impl Clone for MacAddrFormat
sourcefn clone(&self) -> MacAddrFormat
fn clone(&self) -> MacAddrFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<MacAddrFormat> for MacAddrFormat
impl PartialEq<MacAddrFormat> for MacAddrFormat
sourcefn eq(&self, other: &MacAddrFormat) -> bool
fn eq(&self, other: &MacAddrFormat) -> bool
impl Copy for MacAddrFormat
impl Eq for MacAddrFormat
impl StructuralEq for MacAddrFormat
impl StructuralPartialEq for MacAddrFormat
Auto Trait Implementations
impl RefUnwindSafe for MacAddrFormat
impl Send for MacAddrFormat
impl Sync for MacAddrFormat
impl Unpin for MacAddrFormat
impl UnwindSafe for MacAddrFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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