pub enum Icmpv6 {
EchoReply(PayloadLengthDelimitedEchoReply),
Other(Icmpv6Type, Icmpv6Code, Payload),
}Variants§
EchoReply(PayloadLengthDelimitedEchoReply)
Other(Icmpv6Type, Icmpv6Code, Payload)
Implementations§
Source§impl Icmpv6
impl Icmpv6
pub fn parse_from_packet_bytes(bytes: &[u8]) -> Result<Option<Self>, ParseError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Icmpv6
impl RefUnwindSafe for Icmpv6
impl Send for Icmpv6
impl Sync for Icmpv6
impl Unpin for Icmpv6
impl UnwindSafe for Icmpv6
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