Trait icmp_socket::packet::WithUnreachable
source · [−]pub trait WithUnreachable {
type Packet;
fn with_unreachable(
code: u8,
packet: Vec<u8>
) -> Result<Self::Packet, IcmpPacketBuildError>;
}
Expand description
Construct a packet for Destination Unreachable messages.