pub struct Icmpv6;Expand description
ICMPv6 marker impl of IcmpVersion.
See RFC 4443,
Trait Implementations§
Source§impl EncodeIcmpMessage<Icmpv6> for IcmpEchoRequest
impl EncodeIcmpMessage<Icmpv6> for IcmpEchoRequest
Source§fn encode(&mut self) -> &mut IcmpMessageBuffer
fn encode(&mut self) -> &mut IcmpMessageBuffer
Encode the message per the spec for
V.Source§impl IcmpVersion for Icmpv6
impl IcmpVersion for Icmpv6
Source§const PROTOCOL: Protocol = socket2::Protocol::ICMPV6
const PROTOCOL: Protocol = socket2::Protocol::ICMPV6
The socket protocol to use when opening a socket
Source§const DEFAULT_BIND: Self::SocketAddr
const DEFAULT_BIND: Self::SocketAddr
The sockaddr to bind to if none is specified in
socket::SocketConfig. Read moreSource§type SocketAddr = SocketAddrV6
type SocketAddr = SocketAddrV6
The type of
sockaddr used with this versionSource§fn extract_icmp_from_recv_packet(packet: &[u8]) -> Result<(&[u8], Range<usize>)>
fn extract_icmp_from_recv_packet(packet: &[u8]) -> Result<(&[u8], Range<usize>)>
Extract the portion of the packet that comprises the ICMP message
Source§fn checksum_required() -> bool
fn checksum_required() -> bool
Whether the ICMP checksum should be calculated when sending a message.
Auto Trait Implementations§
impl Freeze for Icmpv6
impl RefUnwindSafe for Icmpv6
impl Send for Icmpv6
impl Sync for Icmpv6
impl Unpin for Icmpv6
impl UnsafeUnpin 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