pub enum Ipv6ExtHdrType {
HopByHopOptions,
Routing,
Fragment,
EncapsulatingSecurityPayload,
Authentication,
DestinationOptions,
Other(u8),
}
Expand description
An IPv6 extension header.
These are next header values that encode for extension header types. This enum does not include upper layer protocol numbers even though they may be valid next header values.
Variants§
HopByHopOptions
Routing
Fragment
EncapsulatingSecurityPayload
Authentication
DestinationOptions
Other(u8)
Trait Implementations§
Source§impl Clone for Ipv6ExtHdrType
impl Clone for Ipv6ExtHdrType
Source§fn clone(&self) -> Ipv6ExtHdrType
fn clone(&self) -> Ipv6ExtHdrType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Ipv6ExtHdrType
impl Debug for Ipv6ExtHdrType
Source§impl Display for Ipv6ExtHdrType
impl Display for Ipv6ExtHdrType
Source§impl From<Ipv6ExtHdrType> for u8
impl From<Ipv6ExtHdrType> for u8
Source§fn from(name: Ipv6ExtHdrType) -> u8
fn from(name: Ipv6ExtHdrType) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ipv6ExtHdrType
impl From<u8> for Ipv6ExtHdrType
Source§fn from(x: u8) -> Ipv6ExtHdrType
fn from(x: u8) -> Ipv6ExtHdrType
Converts to this type from the input type.
Source§impl Hash for Ipv6ExtHdrType
impl Hash for Ipv6ExtHdrType
Source§impl PartialEq for Ipv6ExtHdrType
impl PartialEq for Ipv6ExtHdrType
impl Copy for Ipv6ExtHdrType
impl Eq for Ipv6ExtHdrType
impl StructuralPartialEq for Ipv6ExtHdrType
Auto Trait Implementations§
impl Freeze for Ipv6ExtHdrType
impl RefUnwindSafe for Ipv6ExtHdrType
impl Send for Ipv6ExtHdrType
impl Sync for Ipv6ExtHdrType
impl Unpin for Ipv6ExtHdrType
impl UnwindSafe for Ipv6ExtHdrType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)