Module validate

Module validate 

Source
Expand description

Semantic validation of decoded text messages in conversation context.

The codec guarantees only syntactic validity. This layer applies the rules that depend on how a message arrived and which conversation it belongs to, selected by a TextProfile.

Structs§

ContentMessage
A displayable content message after contextual validation.
DirectChannelProfile
Base profile for direct and channel conversations: base message types only, no recognized extension options.
Envelope
MAC-validated context for one received text payload.
ValidationNotes
Non-fatal observations recorded during validation.

Enums§

DeliveryPath
How a MAC-validated packet arrived.
DuplicateTreatment
Treatment of a duplicated recognized option.
ValidateError
Why a syntactically valid message was rejected in context.
Validated
A validated received text payload.

Traits§

TextProfile
Profile contract selecting which message types and extension options a deployment recognizes.

Functions§

validate
Validate a decoded message in its conversation context.