Expand description
Types related to parsing and encoding CoAP messages.
Modules§
- codec
- Low-level message codec functions.
Structs§
- AckMessage
- A type representing an acknowledgement message.
- Buffer
Message Encoder - A class for writing stand-alone messages to a mutable byte slice.
- Coap
Byte Display Formatter - Helper struct for formatting a CoAP buffer for display.
- Message
Display - Provides an implementation of
core::fmt::Debug
andcore::fmt::Display
for any type implementingMessageRead
. - MsgToken
- Type for holding the value of a CoAP message token.
- Null
Message Read - Null message reader. Always reads as an empty CoAP reset.
- Null
Message Write - Null message writer. Anything written to this instance will be ignored.
- Owned
Immutable Message - A class representing an immutable heap-allocated UDP CoAP message.
- Reset
Message - A type representing a reset message.
- Standard
Message Parser - A class for parsing a stand-alone UDP CoAP message from a given buffer.
- VecMessage
Encoder - A class for writing stand-alone messages to a heap-allocated
Vec
.
Enums§
- MsgCode
- Enum representing a CoAP message code.
- MsgCode
Class - Enum representing the class of a CoAP message code.
- MsgType
- Enum representing the CoAP message type:
CON
,NON
,ACK
, andRES
.
Traits§
- Message
Read - Trait for reading the various parts of a CoAP message.
- Message
Write - Trait for writing/serializing a CoAP message.
Type Aliases§
- MsgId
- Type for representing a CoAP message id.