Enum ruma_events::ToDeviceEventType [−][src]
pub enum ToDeviceEventType {
Show variants
Dummy,
RoomKey,
RoomKeyRequest,
ForwardedRoomKey,
KeyVerificationRequest,
KeyVerificationReady,
KeyVerificationStart,
KeyVerificationCancel,
KeyVerificationAccept,
KeyVerificationKey,
KeyVerificationMac,
KeyVerificationDone,
RoomEncrypted,
// some variants omitted
}Expand description
The type of ToDeviceEventType this is.
This type can hold an arbitrary string. To check for events that are not available as a
documented variant here, use its string representation, obtained through .as_str().
Variants
m.dummy
m.room_key
m.room_key_request
m.forwarded_room_key
m.key.verification.request
unstable-pre-spec only.m.key.verification.ready
m.key.verification.start
m.key.verification.cancel
m.key.verification.accept
m.key.verification.key
m.key.verification.mac
unstable-pre-spec only.m.key.verification.done
m.room.encrypted
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ToDeviceEventTypeimpl Send for ToDeviceEventTypeimpl Sync for ToDeviceEventTypeimpl Unpin for ToDeviceEventTypeimpl UnwindSafe for ToDeviceEventTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V