[][src]Module ccsds_primary_header::parser

Structs

CcsdsParser

A CcsdsParser is a configuration and a byte buffer which can be queried for CCSDS packets. The parser is created and configured, and then can be fed bytes. At any time it can be queried for packets, which will be provided as a BytesMut without copying.

CcsdsParserConfig

The CcsdsParserConfig struct provides all configuration used by a CcsdsParser. This is broken out into a seprate structure to be read in, serialized, and otherwise manipulated independantly of a particular CcsdsParser.

Enums

CcsdsParserStatus

A CcsdsParserStatus is the current state of a CcsdsParser. The parser can determine whether a packet is valid, have enough bytes, or is otherwise invalid. The only enum value that indicates a valid packet is ValidPacket.