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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)