WithUnreachable

Trait WithUnreachable 

Source
pub trait WithUnreachable {
    type Packet;

    // Required method
    fn with_unreachable(
        code: u8,
        packet: Vec<u8>,
    ) -> Result<Self::Packet, IcmpPacketBuildError>;
}
Expand description

Construct a packet for Destination Unreachable messages.

Required Associated Types§

Required Methods§

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§