#[non_exhaustive]#[repr(u8)]pub enum Icmp6Type {
RouterSol = 133,
RouterAdv = 134,
NeighbrSol = 135,
NeighbrAdv = 136,
Redir = 137,
}
Expand description
Values for the type
field in ICMPv6 packets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RouterSol = 133
Router solicitation.
RouterAdv = 134
Router advertisement.
NeighbrSol = 135
Neighbor solicitation.
NeighbrAdv = 136
Neighbor advertisement.
Redir = 137
Shorter route exists
Trait Implementations§
source§impl PartialEq for Icmp6Type
impl PartialEq for Icmp6Type
impl Copy for Icmp6Type
impl Eq for Icmp6Type
impl StructuralPartialEq for Icmp6Type
Auto Trait Implementations§
impl Freeze for Icmp6Type
impl RefUnwindSafe for Icmp6Type
impl Send for Icmp6Type
impl Sync for Icmp6Type
impl Unpin for Icmp6Type
impl UnwindSafe for Icmp6Type
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