pub enum LinkLocalPattern {
Zero,
SmallInteger(u8),
EUI64,
Privacy,
Complex,
}
Expand description
Link-local address patterns (fe80::/10)
Variants§
Zero
fe80:: - Zero interface identifier
SmallInteger(u8)
fe80::1, fe80::2, etc. - Small integer (1-255)
EUI64
fe80::xxxx:xxxx:xxxx:xxxx - EUI-64 derived from MAC
Privacy
fe80::xxxx:xxxx:xxxx:xxxx - Privacy address (RFC 4941)
Complex
Complex pattern requiring more bits
Trait Implementations§
Source§impl Clone for LinkLocalPattern
impl Clone for LinkLocalPattern
Source§fn clone(&self) -> LinkLocalPattern
fn clone(&self) -> LinkLocalPattern
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 Debug for LinkLocalPattern
impl Debug for LinkLocalPattern
Source§impl PartialEq for LinkLocalPattern
impl PartialEq for LinkLocalPattern
impl Copy for LinkLocalPattern
impl Eq for LinkLocalPattern
impl StructuralPartialEq for LinkLocalPattern
Auto Trait Implementations§
impl Freeze for LinkLocalPattern
impl RefUnwindSafe for LinkLocalPattern
impl Send for LinkLocalPattern
impl Sync for LinkLocalPattern
impl Unpin for LinkLocalPattern
impl UnwindSafe for LinkLocalPattern
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