[][src]Enum ruma_events::to_device::AnyToDeviceEvent

pub enum AnyToDeviceEvent {
    Dummy(ToDeviceDummy),
    RoomKey(ToDeviceRoomKey),
    RoomEncrypted(ToDeviceEncrypted),
    ForwardedRoomKey(ToDeviceForwardedRoomKey),
    RoomKeyRequest(ToDeviceRoomKeyRequest),
    KeyVerificationStart(ToDeviceVerificationStart),
    KeyVerificationAccept(ToDeviceVerificationAccept),
    KeyVerificationKey(ToDeviceVerificationKey),
    KeyVerificationMac(ToDeviceVerificationMac),
    KeyVerificationCancel(ToDeviceVerificationCancel),
    KeyVerificationRequest(ToDeviceVerificationRequest),
}

To-device versions of events that will appear in the to-device part of a sync response.

Variants

To-device version of the "m.dummy" event.

To-device version of the m.room_key event.

RoomEncrypted(ToDeviceEncrypted)

To-device version of the m.room.encrypted event.

ForwardedRoomKey(ToDeviceForwardedRoomKey)

To-device version of the m.forwarded_room_key event.

RoomKeyRequest(ToDeviceRoomKeyRequest)

To-device version of the m.room_key_request event.

KeyVerificationStart(ToDeviceVerificationStart)

To-device version of the m.key.verification.start event.

KeyVerificationAccept(ToDeviceVerificationAccept)

To-device version of the m.key.verification.accept event.

KeyVerificationKey(ToDeviceVerificationKey)

To-device version of the m.key.verification.key event.

KeyVerificationMac(ToDeviceVerificationMac)

To-device version of the m.key.verification.mac event.

KeyVerificationCancel(ToDeviceVerificationCancel)

To-device version of the m.key.verification.cancel event.

KeyVerificationRequest(ToDeviceVerificationRequest)

To-device version of the m.key.verification.request event.

Trait Implementations

impl Clone for AnyToDeviceEvent[src]

impl Debug for AnyToDeviceEvent[src]

impl PartialEq<AnyToDeviceEvent> for AnyToDeviceEvent[src]

impl Serialize for AnyToDeviceEvent[src]

impl StructuralPartialEq for AnyToDeviceEvent[src]

impl TryFromRaw for AnyToDeviceEvent[src]

type Raw = AnyToDeviceEvent

The raw type.

type Err = String

The error type returned if conversion fails.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,