Skip to main content

Crate matrix_ui_serializable

Crate matrix_ui_serializable 

Source

Modules§

commands
All the actions exposed to the frontend that returns a Result.
models
ViewModels exposed to the adapter
mpsc
A multi-producer, single-consumer queue for sending values between asynchronous tasks.
oneshot
A one-shot channel is used for sending a single message between asynchronous tasks. The channel function is used to create a Sender and Receiver handle pair that form the channel.

Structs§

Base64
A wrapper around B (usually Vec<u8>) that (de)serializes from / to a base64 string.
BaseAudioInfo
Base metadata about an audio clip.
BaseFileInfo
Base metadata about a file.
BaseImageInfo
Base metadata about an image.
BaseVideoInfo
Base metadata about a video.
EncryptedFile
A file sent to a room with end-to-end encryption enabled.
EncryptedFileHashes
A map of EncryptedFileHashAlgorithm to the associated EncryptedFileHash.
EventReceivers
Required mpsc:Receivers to listen to incoming events
FrontendSyncServiceState
Wether the matrix-sdk-ui Sync Service is running or not.
FrontendTimelineItem
FrontendVerificationState
Wether this Matrix client session has been verified or not
FullMatrixSession
LibConfig
The required configuration for this lib. Adapters must implement updaters and event_receivers.
MediaRequestParameters
Parameters for a request for retrieve media data.
MediaThumbnailSettings
The desired settings of a media thumbnail.
OwnedDeviceId
Owned variant of DeviceId
OwnedMxcUri
Owned variant of MxcUri
OwnedRoomId
Owned variant of RoomId
OwnedUserId
Owned variant of UserId
RoomScreen
A serializable struct representing the state of a given Matrix Room. Fields are not exposed to the adapter directly, the adapter can only serialize this struct.
RoomsList
The struct containing all the data related to the homepage rooms list. Fields are not exposed to the adapter directly, the adapter can only serialize this struct.
Standard
Standard base64 character set without padding.
Thumbnail
A thumbnail to upload and send for an attachment.
UInt
An integer limited to the range of non-negative integers that can be represented exactly by an f64.
UrlSafe
Url-safe base64 character set without padding.
User
User data as result of a search.
UserProfile
Information retrieved about a user: their displayable name, ID, and known avatar state.
V2EncryptedFileInfo
A file encrypted with the AES-CTR algorithm with a 256-bit key.

Enums§

AttachmentInfo
Types of metadata for an attachment.
AuthSession
A user session using one of the available authentication APIs.
EncryptedFileInfo
Information about the encryption of a file.
Error
matrix-ui-serializable Error enum
LoginState
Wether the user has logged in, or is in another state.
MatrixRequest
The set of requests for async work that can be made to the worker thread.
MediaFormat
The requested format of a media file.
MediaSource
The source of a media file.
Method
The desired resizing method for a thumbnail.
RecoveryState
The states the recovery subsystem can be in.

Statics§

CLIENT
The logged-in Matrix client, which can be freely and cheaply cloned.
LOGIN_STORE_READY
Flag to be set once the frontend Login Store is up and ready

Functions§

init
Function to be called once your app is starting to init this lib. This will start the workers and return a Receiver to forward outgoing events.

Type Aliases§

Result