pub enum MacAddressFormat {
Canonical,
HexString,
DotNotation,
Hexadecimal,
}
Expand description
Format to display MacAddress
Variants§
Canonical
Use - notaion
HexString
Use : notation
DotNotation
Use . notation
Hexadecimal
Use 0x notation
Trait Implementations§
Source§impl Clone for MacAddressFormat
impl Clone for MacAddressFormat
Source§fn clone(&self) -> MacAddressFormat
fn clone(&self) -> MacAddressFormat
Returns a copy 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 Debug for MacAddressFormat
impl Debug for MacAddressFormat
Source§impl Hash for MacAddressFormat
impl Hash for MacAddressFormat
Source§impl Ord for MacAddressFormat
impl Ord for MacAddressFormat
Source§fn cmp(&self, other: &MacAddressFormat) -> Ordering
fn cmp(&self, other: &MacAddressFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MacAddressFormat
impl PartialEq for MacAddressFormat
Source§impl PartialOrd for MacAddressFormat
impl PartialOrd for MacAddressFormat
impl Copy for MacAddressFormat
impl Eq for MacAddressFormat
impl StructuralPartialEq for MacAddressFormat
Auto Trait Implementations§
impl Freeze for MacAddressFormat
impl RefUnwindSafe for MacAddressFormat
impl Send for MacAddressFormat
impl Sync for MacAddressFormat
impl Unpin for MacAddressFormat
impl UnwindSafe for MacAddressFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)