WithEchoReply

Trait WithEchoReply 

Source
pub trait WithEchoReply {
    type Packet;

    // Required method
    fn with_echo_reply(
        identifier: u16,
        sequence: u16,
        payload: Vec<u8>,
    ) -> Result<Self::Packet, IcmpPacketBuildError>;
}
Expand description

Construct a packet for Echo Reply messages. This packet type is really only used for the ICMPv6 protocol.

Required Associated Types§

Required Methods§

Source

fn with_echo_reply( identifier: u16, sequence: u16, payload: Vec<u8>, ) -> Result<Self::Packet, IcmpPacketBuildError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§