Trait ReadablePduWithOneInput

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

Generic trait Readable Protocol Data Unit that does need a single external input

Required Methods§

Source

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

Implementors§