pub trait ReadablePduWithThreeInputs<'a, I1, I2, I3, ErrorType> {
// Required method
fn from_wire(
buf: Span<'a>,
input1: I1,
input2: I2,
input3: I3,
) -> IResult<Span<'a>, Self, ErrorType>
where Self: Sized;
}Expand description
Generic trait for Readable Protocol Data Unit that does need three external inputs
Required Methods§
fn from_wire(
buf: Span<'a>,
input1: I1,
input2: I2,
input3: I3,
) -> IResult<Span<'a>, Self, ErrorType>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".