pub enum IncomingResponse<'a> {
KeysUpload(&'a Response),
KeysQuery(&'a Response),
ToDevice(&'a Response),
KeysClaim(&'a Response),
SigningKeysUpload(&'a Response),
SignatureUpload(&'a Response),
RoomMessage(&'a Response),
KeysBackup(&'a Response),
}
Expand description
Enum over all the incoming responses we need to receive.
Variants§
KeysUpload(&'a Response)
The /keys/upload
response, notifying us about the amount of uploaded
one-time keys.
KeysQuery(&'a Response)
The /keys/query
response, giving us the device and cross signing keys
of other users.
ToDevice(&'a Response)
The to-device response, an empty response.
KeysClaim(&'a Response)
The key claiming requests, giving us new one-time keys of other users so new Olm sessions can be created.
SigningKeysUpload(&'a Response)
The cross signing /keys/upload
response, marking our private cross
signing identity as shared.
SignatureUpload(&'a Response)
The cross signing signature upload response.
RoomMessage(&'a Response)
A room message response, usually for interactive verifications.
KeysBackup(&'a Response)
Response for the server-side room key backup request.
Trait Implementations§
source§impl<'a> Debug for IncomingResponse<'a>
impl<'a> Debug for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
source§impl<'a> From<&'a Response> for IncomingResponse<'a>
impl<'a> From<&'a Response> for IncomingResponse<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more