Expand description
This module is autogenerated. It defines a layout using the binary_layout crate based on the following definition:
ⓘ
binary_layout!(icmp_packet, BigEndian, {
packet_type: u8,
code: u8,
checksum: u16,
rest_of_header: [u8; 4],
data_section: [u8],
});
Structs§
- Nested
View - Use this as a marker type for using this layout as a nested field within another layout.
- View
- The View struct defines the FieldView API. An instance of View wraps a storage (either borrowed or owned) and allows accessors for the layout fields.
Constants§
- SIZE
- Total size of the layout in number of bytes. This can be None if the layout ends with an open ended field like a byte slice.
Type Aliases§
- checksum
- Metadata and Field API accessors for the
checksum
field - code
- Metadata and Field API accessors for the
code
field - data_
section - Metadata and Field API accessors for the
data_section
field - packet_
type - Metadata and Field API accessors for the
packet_type
field - rest_
of_ header - Metadata and Field API accessors for the
rest_of_header
field