pub enum Medium {
Ethernet,
}
Expand description
Type of medium of a device.
Variants§
Ethernet
Ethernet medium. Devices of this type send and receive Ethernet frames, and interfaces using it must do neighbor discovery via ARP or NDISC.
Examples of devices of this type are Ethernet, WiFi (802.11), Linux tap
, and VPNs in tap (layer 2) mode.
Trait Implementations§
impl Copy for Medium
impl Eq for Medium
impl StructuralPartialEq for Medium
Auto Trait Implementations§
impl Freeze for Medium
impl RefUnwindSafe for Medium
impl Send for Medium
impl Sync for Medium
impl Unpin for Medium
impl UnwindSafe for Medium
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