Enum matrix_sdk_crypto::IncomingResponse[][src]

pub enum IncomingResponse<'a> {
    KeysUpload(&'a KeysUploadResponse),
    KeysQuery(&'a KeysQueryResponse),
    ToDevice(&'a ToDeviceResponse),
    KeysClaim(&'a KeysClaimResponse),
    SigningKeysUpload(&'a SigningKeysUploadResponse),
    SignatureUpload(&'a SignatureUploadResponse),
    RoomMessage(&'a RoomMessageResponse),
}
Expand description

Enum over all the incoming responses we need to receive.

Variants

KeysUpload(&'a KeysUploadResponse)

The keys upload response, notifying us about the amount of uploaded one-time keys.

KeysQuery(&'a KeysQueryResponse)

The keys query response, giving us the device and cross singing keys of other users.

ToDevice(&'a ToDeviceResponse)

The to-device response, an empty response.

KeysClaim(&'a KeysClaimResponse)

The key claiming requests, giving us new one-time keys of other users so new Olm sessions can be created.

SigningKeysUpload(&'a SigningKeysUploadResponse)

The cross signing keys upload response, marking our private cross signing identity as shared.

SignatureUpload(&'a SignatureUploadResponse)

The cross signing signature upload response.

RoomMessage(&'a RoomMessageResponse)

A room message response, usually for interactive verifications.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.