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.

Tuple Fields of KeysUpload

0: &'a KeysUploadResponse
KeysQuery(&'a KeysQueryResponse)

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

Tuple Fields of KeysQuery

0: &'a KeysQueryResponse
ToDevice(&'a ToDeviceResponse)

The to-device response, an empty response.

Tuple Fields of ToDevice

0: &'a ToDeviceResponse
KeysClaim(&'a KeysClaimResponse)

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

Tuple Fields of KeysClaim

0: &'a KeysClaimResponse
SigningKeysUpload(&'a SigningKeysUploadResponse)

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

Tuple Fields of SigningKeysUpload

0: &'a SigningKeysUploadResponse
SignatureUpload(&'a SignatureUploadResponse)

The cross signing signature upload response.

Tuple Fields of SignatureUpload

0: &'a SignatureUploadResponse
RoomMessage(&'a RoomMessageResponse)

A room message response, usually for interactive verifications.

Tuple Fields of RoomMessage

0: &'a RoomMessageResponse

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.