pub enum TcOpt {
Ingress,
U32(Nla),
Other(DefaultNla),
}
Variants
Ingress
U32(Nla)
Other(DefaultNla)
Trait Implementations
sourceimpl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for TcOpt where
T: AsRef<[u8]> + ?Sized,
S: AsRef<str>,
impl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for TcOpt where
T: AsRef<[u8]> + ?Sized,
S: AsRef<str>,
sourcefn 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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more