ppp_packet::records

Trait RecordsImplLayout

Source
pub trait RecordsImplLayout {
    type Error;
    type Context: RecordsContext;
}
Expand description

Basic associated types used by a RecordsImpl.

This trait is kept separate from RecordsImpl to keep the lifetimes separated.

Required Associated Types§

Source

type Error

The type of errors that may be returned by a RecordsImpl::parse_with_context.

Source

type Context: RecordsContext

A context type that can be used to maintain state or do checks.

Implementors§