Struct protocol::hint::Hints [−][src]
pub struct Hints {
pub current_field_index: Option<FieldIndex>,
pub known_field_lengths: HashMap<FieldIndex, FieldLength>,
}
Expand description
Hints given when reading parcels.
Fields
current_field_index: Option<FieldIndex>
known_field_lengths: HashMap<FieldIndex, FieldLength>
The fields for which a length prefix was already present earlier in the layout.
Implementations
Gets the length of the field currently being read, if known.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hints
impl UnwindSafe for Hints
Blanket Implementations
Mutably borrows from an owned value. Read more