Trait ReadablePduWithTwoInputs

Source
pub trait ReadablePduWithTwoInputs<'a, T, U, ErrorType> {
    // Required method
    fn from_wire(
        buf: Span<'a>,
        input1: T,
        input2: U,
    ) -> IResult<Span<'a>, Self, ErrorType>
       where Self: Sized;
}
Expand description

Generic trait for Readable Protocol Data Unit that does need two external inputs

Required Methods§

Source

fn from_wire( buf: Span<'a>, input1: T, input2: U, ) -> IResult<Span<'a>, Self, ErrorType>
where Self: Sized,

Implementors§