Trait WithParameterProblem

Source
pub trait WithParameterProblem {
    type Packet;
    type Pointer;

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

Construct a packet for Parameter Problem messages.

Required Associated Types§

Required Methods§

Source

fn with_parameter_problem( code: u8, pointer: Self::Pointer, packet: 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§