Module tap_message_trait

Module tap_message_trait 

Source
Expand description

Traits for TAP message conversion and validation.

This module provides traits for converting between DIDComm messages and TAP-specific message bodies, as well as validation of those bodies.

Traits§

Authorizable
Authorizable trait for TAIP-4 authorization messages.
Connectable
A trait for messages that can be connected to a prior Connect message.
TapMessage
Trait for types that can be represented as TAP messages.
TapMessageBody
A trait for TAP message body types that can be serialized to and deserialized from DIDComm messages.
Transaction
Transaction trait for managing transaction lifecycle operations.

Functions§

create_tap_message
Creates a new TAP message from a message body.
typed_plain_message
Helper function to convert an untyped PlainMessage to a typed PlainMessage.