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
The keys upload request, uploading device and one-time keys.
KeysQuery(KeysQueryRequest)
The keys query request, fetching the device and cross singing keys of other users.
Tuple Fields of KeysQuery
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.
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
Signature upload request, this request is used after a successful device or user verification is done.
RoomMessage(RoomMessageRequest)
A room message request, usually for sending in-room interactive verification events.
Tuple Fields of RoomMessage
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.