pub enum TcOpt {
Ingress,
U32(Nla),
Other(DefaultNla),
}
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.
source§impl PartialEq for TcOpt
impl PartialEq for TcOpt
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)