Enum matrix_sdk_crypto::OutgoingRequests[][src]

pub enum OutgoingRequests {
    KeysUpload(KeysUploadRequest),
    KeysQuery(KeysQueryRequest),
    KeysClaim(KeysClaimRequest),
    ToDeviceRequest(ToDeviceRequest),
    SignatureUpload(SignatureUploadRequest),
    RoomMessage(RoomMessageRequest),
}
Expand description

Enum over the different outgoing requests we can have.

Variants

KeysUpload(KeysUploadRequest)

The keys upload request, uploading device and one-time keys.

Tuple Fields of KeysUpload

0: KeysUploadRequest
KeysQuery(KeysQueryRequest)

The keys query request, fetching the device and cross singing keys of other users.

Tuple Fields of KeysQuery

0: KeysQueryRequest
KeysClaim(KeysClaimRequest)

The request to claim one-time keys for a user/device pair from the server, after the response is received an 1-to-1 Olm session will be established with the user/device pair.

Tuple Fields of KeysClaim

0: KeysClaimRequest
ToDeviceRequest(ToDeviceRequest)

The to-device requests, this request is used for a couple of different things, the main use is key requests/forwards and interactive device verification.

Tuple Fields of ToDeviceRequest

0: ToDeviceRequest
SignatureUpload(SignatureUploadRequest)

Signature upload request, this request is used after a successful device or user verification is done.

Tuple Fields of SignatureUpload

0: SignatureUploadRequest
RoomMessage(RoomMessageRequest)

A room message request, usually for sending in-room interactive verification events.

Tuple Fields of RoomMessage

0: RoomMessageRequest

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.

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.