#[non_exhaustive]pub enum InfoData {
Show 26 variants
Bridge(Vec<InfoBridge>),
Tun(Vec<u8>),
Nlmon(Vec<u8>),
Vlan(Vec<InfoVlan>),
Dummy(Vec<u8>),
Ifb(Vec<u8>),
Veth(VethInfo),
Vxlan(Vec<InfoVxlan>),
Bond(Vec<InfoBond>),
IpVlan(Vec<InfoIpVlan>),
MacVlan(Vec<InfoMacVlan>),
MacVtap(Vec<InfoMacVtap>),
GreTap(Vec<u8>),
GreTap6(Vec<u8>),
IpTun(Vec<u8>),
SitTun(Vec<u8>),
GreTun(Vec<u8>),
GreTun6(Vec<u8>),
Vti(Vec<u8>),
Vrf(Vec<InfoVrf>),
Gtp(Vec<u8>),
Ipoib(Vec<InfoIpoib>),
Wireguard(Vec<u8>),
Xfrm(Vec<InfoXfrmTun>),
MacSec(Vec<InfoMacSec>),
Other(Vec<u8>),
}
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.
Bridge(Vec<InfoBridge>)
Tun(Vec<u8>)
Nlmon(Vec<u8>)
Vlan(Vec<InfoVlan>)
Dummy(Vec<u8>)
Ifb(Vec<u8>)
Veth(VethInfo)
Vxlan(Vec<InfoVxlan>)
Bond(Vec<InfoBond>)
IpVlan(Vec<InfoIpVlan>)
MacVlan(Vec<InfoMacVlan>)
MacVtap(Vec<InfoMacVtap>)
GreTap(Vec<u8>)
GreTap6(Vec<u8>)
IpTun(Vec<u8>)
SitTun(Vec<u8>)
GreTun(Vec<u8>)
GreTun6(Vec<u8>)
Vti(Vec<u8>)
Vrf(Vec<InfoVrf>)
Gtp(Vec<u8>)
Ipoib(Vec<InfoIpoib>)
Wireguard(Vec<u8>)
Xfrm(Vec<InfoXfrmTun>)
MacSec(Vec<InfoMacSec>)
Other(Vec<u8>)
Trait Implementations§
source§impl PartialEq<InfoData> for InfoData
impl PartialEq<InfoData> for InfoData
impl Eq for InfoData
impl StructuralEq for InfoData
impl StructuralPartialEq for InfoData
Auto Trait Implementations§
impl RefUnwindSafe for InfoData
impl Send for InfoData
impl Sync for InfoData
impl Unpin for InfoData
impl UnwindSafe for InfoData
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