#[non_exhaustive]pub enum TcOpt {
Ingress,
U32(Nla),
Matchall(Nla),
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<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for TcOpt
impl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for TcOpt
Source§fn parse_with_param(
buf: &NlaBuffer<&'a T>,
kind: S,
) -> Result<Self, DecodeError>
fn parse_with_param( buf: &NlaBuffer<&'a T>, kind: S, ) -> Result<Self, DecodeError>
Deserialize the current type.
impl Eq for TcOpt
impl StructuralPartialEq for TcOpt
Auto Trait Implementations§
impl Freeze for TcOpt
impl RefUnwindSafe for TcOpt
impl Send for TcOpt
impl Sync for TcOpt
impl Unpin for TcOpt
impl UnwindSafe for TcOpt
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