pub enum TcOpt {
Ingress,
U32(Nla),
Other(DefaultNla),
}
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.