#[repr(u16)]pub enum InterfaceDescriptionOptionCode {
EndOfOpt = 0,
IfName = 2,
}Expand description
Option codes specific to Interface Description Blocks.
See pcapng RFC Section 4.2 for the full list of codes.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceDescriptionOptionCode
impl Clone for InterfaceDescriptionOptionCode
Source§fn clone(&self) -> InterfaceDescriptionOptionCode
fn clone(&self) -> InterfaceDescriptionOptionCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<InterfaceDescriptionOptionCode> for u16
impl From<InterfaceDescriptionOptionCode> for u16
Source§fn from(option_code: InterfaceDescriptionOptionCode) -> Self
fn from(option_code: InterfaceDescriptionOptionCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InterfaceDescriptionOptionCode
impl PartialEq for InterfaceDescriptionOptionCode
Source§fn eq(&self, other: &InterfaceDescriptionOptionCode) -> bool
fn eq(&self, other: &InterfaceDescriptionOptionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InterfaceDescriptionOptionCode
impl Eq for InterfaceDescriptionOptionCode
impl StructuralPartialEq for InterfaceDescriptionOptionCode
Auto Trait Implementations§
impl Freeze for InterfaceDescriptionOptionCode
impl RefUnwindSafe for InterfaceDescriptionOptionCode
impl Send for InterfaceDescriptionOptionCode
impl Sync for InterfaceDescriptionOptionCode
impl Unpin for InterfaceDescriptionOptionCode
impl UnsafeUnpin for InterfaceDescriptionOptionCode
impl UnwindSafe for InterfaceDescriptionOptionCode
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more