Crate otrr

Source

Modules§

clientprofile
crypto
instancetag
session

Structs§

Policy
Policy bit-flags can be set to indicate how OTR should respond to certain events related to messaging and the OTR protocol.

Enums§

OTRError
OTRError is the enum containing the various errors that can occur.
ProtocolStatus
ProtocolStatus indicates the protocol status: plaintext, encrypted, finished. If matching for exact protocol state, combine with Version to include version-matching.
UserMessage
UserMessage represents the resulting Message intended for the messaging client, possibly containing content relevant to display to the user.
Version
Version contains the various supported OTR protocol versions.

Traits§

Host
Host represents the interface to the host application, for calling back into the messaging client.

Type Aliases§

SSID
TLVType
TLV_TYPE is an alias for an u16 value. The values are not restricted. Therefore define the type.