Enum peel_ip::layer2::icmpv6::Icmpv6Type
[−]
[src]
pub enum Icmpv6Type { EchoReply, EchoRequest, }
Available ICMPv6
control messages
Variants
EchoReply
Echo reply used to ping
EchoRequest
Echo request used to ping
Methods
impl Icmpv6Type
[src]
fn from_u8(input: u8) -> Option<Icmpv6Type>
Convert a u8 to an Icmpv6Type
. Returns None if the type is not supported or generally
invalid.