Crate otrr

source ·

Modules§

Structs§

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

Enums§

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

Traits§

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

Type Aliases§

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