Module types

Module types 

Source
Expand description

This module defines common data structures and types used throughout the p2p-chat application.

Structs§

DeliveryConfirmation
Represents a delivery confirmation for a message.
EncryptedMessage
Represents an encrypted message stored in a mailbox.
Friend
Represents a friend in the application.
Message
Represents a chat message.
ReadReceipt
Represents a read receipt for a message.

Enums§

ChatRequest
Represents a request in the chat protocol.
ChatResponse
Represents a response in the chat protocol.
DeliveryStatus
Represents the delivery status of a message.
MailboxRequest
Represents a request to a mailbox node.
MailboxResponse
Represents a response from a mailbox node.