Crate otrr Copy item path Source clientprofile crypto instancetag session Policy Policy bit-flags can be set to indicate how OTR should respond to certain events related to messaging and the OTR protocol.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.Host Host represents the interface to the host application, for calling back into the messaging
client. SSID TLVType TLV_TYPE is an alias for an u16 value. The values are not restricted. Therefore define the type.