#[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 TcOptwhere
T: AsRef<[u8]> + ?Sized,
S: AsRef<str>,
impl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for TcOptwhere T: AsRef<[u8]> + ?Sized, S: AsRef<str>,
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.
source§impl PartialEq<TcOpt> for TcOpt
impl PartialEq<TcOpt> for TcOpt
impl Eq for TcOpt
impl StructuralEq for TcOpt
impl StructuralPartialEq for TcOpt
Auto Trait Implementations§
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