[][src]Module async_coap::message

Types related to parsing and encoding CoAP messages.

Modules

codec

Low-level message codec functions.

Structs

AckMessage

A type representing an acknowledgement message.

BufferMessageEncoder

A class for writing stand-alone messages to a mutable byte slice.

CoapByteDisplayFormatter

Helper struct for formatting a CoAP buffer for display.

MessageDisplay

Provides an implementation of core::fmt::Debug and core::fmt::Display for any type implementing MessageRead.

MsgToken

Type for holding the value of a CoAP message token.

NullMessageRead

Null message reader. Always reads as an empty CoAP reset.

NullMessageWrite

Null message writer. Anything written to this instance will be ignored.

OwnedImmutableMessage

A class representing an immutable heap-allocated UDP CoAP message.

ResetMessage

A type representing a reset message.

StandardMessageParser

A class for parsing a stand-alone UDP CoAP message from a given buffer.

VecMessageEncoder

A class for writing stand-alone messages to a heap-allocated Vec.

Enums

MsgCode

Enum representing a CoAP message code.

MsgCodeClass

Enum representing the class of a CoAP message code.

MsgType

Enum representing the CoAP message type: CON, NON, ACK, and RES.

Traits

MessageRead

Trait for reading the various parts of a CoAP message.

MessageWrite

Trait for writing/serializing a CoAP message.

Type Definitions

MsgId

Type for representing a CoAP message id.