#[non_exhaustive]pub enum VethInfo {
Unspec(Vec<u8>),
Peer(LinkMessage),
Other(DefaultNla),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl PartialEq<VethInfo> for VethInfo
impl PartialEq<VethInfo> for VethInfo
impl Eq for VethInfo
impl StructuralEq for VethInfo
impl StructuralPartialEq for VethInfo
Auto Trait Implementations§
impl RefUnwindSafe for VethInfo
impl Send for VethInfo
impl Sync for VethInfo
impl Unpin for VethInfo
impl UnwindSafe for VethInfo
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