pub enum Kind {
Packet,
Link,
Ipv4,
Ipv6,
Unknow(i32),
}Expand description
The address family or link type an Interface entry describes.
Variants§
Packet
A raw packet-level (link layer) address.
Link
A link-layer address, such as a MAC address.
Ipv4
An IPv4 address.
Ipv6
An IPv6 address.
Unknow(i32)
An address family this crate does not recognise, carrying the raw OS value.
Trait Implementations§
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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