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§

EventReceivers
Required mpsc:Receivers to listen to incoming events
FrontendSyncServiceState
Wether the matrix-sdk-ui Sync Service is running or not.
FrontendVerificationState
Wether this Matrix client session has been verified or not
LibConfig
The required configuration for this lib. Adapters must implement updaters and event_receivers.
MatrixClientConfig
The user’s account credentials to create a new Matrix session
MediaRequestParameters
Parameters for a request for retrieve media data.
MobilePushNotificationConfig
The required parameters to register Push Notifications for a mobile app.
OwnedDeviceId
Owned variant of DeviceId
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.
UserProfileMap
A cache of each user’s profile and the rooms they are a member of, indexed by user ID.

Enums§

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.

Statics§

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