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
The keys upload response, notifying us about the amount of uploaded one-time keys.
The keys query response, giving us the device and cross singing keys of other users.
The to-device response, an empty response.
The key claiming requests, giving us new one-time keys of other users so new Olm sessions can be created.
The cross signing keys upload response, marking our private cross signing identity as shared.
The cross signing signature upload response.
A room message response, usually for interactive verifications.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for IncomingResponse<'a>
impl<'a> Send for IncomingResponse<'a>
impl<'a> Sync for IncomingResponse<'a>
impl<'a> Unpin for IncomingResponse<'a>
impl<'a> UnwindSafe for IncomingResponse<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self