Struct icmp_socket::socket::IcmpSocket6[][src]

pub struct IcmpSocket6 { /* fields omitted */ }

An Icmpv6 socket.

Implementations

impl IcmpSocket6[src]

pub fn new() -> Result<Self>[src]

Construct a new socket. The socket must be bound to an address using bind_to before it can be used to send and receive packets.

Trait Implementations

impl IcmpSocket for IcmpSocket6[src]

type AddrType = Ipv6Addr

The type of address this socket operates on.

type PacketType = Icmpv6Packet

The type of packet this socket handles.

impl TryFrom<Ipv6Addr> for IcmpSocket6[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.