Crate doip_codec

Source
Expand description

§Diagnostics over Internet Protocol Codec Crate

The purpose of this crate is to provide an easy way to encode and decode DoIP Messages defined in the doip-definitions crate.

Structs§

DoipCodec
A simple Decoder and Encoder implementation for Diagnostics over Internet Protocol.

Enums§

DecodeError
A wrapper to encapsulate Parser and IO errors which can occur
EncodeError
A wrapper to encapsulate IO errors which can occur

Traits§

Decoder
Decoder trait to decode inbound messages from a source and produce human-readable and programmable output. Similar but adapted from the tokio_utils Decoder to be used within a no_std environment.
Encoder
Encoder trait to encode runtime or compile time messages for diagnsotic applications into streamable bytes. Similar but adapted from the tokio_utils Encoder to be used within a no_std environment.