Enum netlink_packet_route::rtnl::link::nlas::InfoXfrmTun
source · #[non_exhaustive]pub enum InfoXfrmTun {
Unspec(Vec<u8>),
Link(u32),
IfId(u32),
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 Clone for InfoXfrmTun
impl Clone for InfoXfrmTun
source§fn clone(&self) -> InfoXfrmTun
fn clone(&self) -> InfoXfrmTun
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InfoXfrmTun
impl Debug for InfoXfrmTun
source§impl Nla for InfoXfrmTun
impl Nla for InfoXfrmTun
source§impl PartialEq<InfoXfrmTun> for InfoXfrmTun
impl PartialEq<InfoXfrmTun> for InfoXfrmTun
source§fn eq(&self, other: &InfoXfrmTun) -> bool
fn eq(&self, other: &InfoXfrmTun) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InfoXfrmTun
impl StructuralEq for InfoXfrmTun
impl StructuralPartialEq for InfoXfrmTun
Auto Trait Implementations§
impl RefUnwindSafe for InfoXfrmTun
impl Send for InfoXfrmTun
impl Sync for InfoXfrmTun
impl Unpin for InfoXfrmTun
impl UnwindSafe for InfoXfrmTun
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