Skip to main content

Module qr_login

Module qr_login 

Source
Expand description

Data types for the QR code login mechanism described in MSC4108 and MSC4388.

Structs§

InvalidLengthError
Error returned when a value’s length exceeds the allowed limit.
LimitedString
A wrapper type for a String which limits the length of the string to u8::MAX.
LimitedUrl
A wrapper type for a Url which limits the length of the URL to u8::MAX.
QrCodeData
Data for the QR code login mechanism.

Enums§

LoginQrCodeDecodeError
Error type for the decoding of the QrCodeData.
Msc4108IntentData
The intent-specific data for the QR code.
QrCodeCreationError
Error type for the creation of a new QrCodeData struct.
QrCodeIntent
The intent of the device that generated/displayed the QR code.
QrCodeIntentData
Intent-specific data of the QrCodeData.

Type Aliases§

RendezvousId
Type representing the rendezvous ID of a rendezvous session.