pub enum ExtensionHeaderType {
HopByHop,
Destination,
Routing,
Fragment,
Unknown(u8),
}Variants§
Trait Implementations§
Source§impl Clone for ExtensionHeaderType
impl Clone for ExtensionHeaderType
Source§fn clone(&self) -> ExtensionHeaderType
fn clone(&self) -> ExtensionHeaderType
Returns a duplicate 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 ExtensionHeaderType
impl Debug for ExtensionHeaderType
Source§impl PartialEq for ExtensionHeaderType
impl PartialEq for ExtensionHeaderType
impl Eq for ExtensionHeaderType
impl StructuralPartialEq for ExtensionHeaderType
Auto Trait Implementations§
impl Freeze for ExtensionHeaderType
impl RefUnwindSafe for ExtensionHeaderType
impl Send for ExtensionHeaderType
impl Sync for ExtensionHeaderType
impl Unpin for ExtensionHeaderType
impl UnwindSafe for ExtensionHeaderType
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