Crate perspective_client

Source

Modules§

config
A collection of serde::Serialize/serde::Deserialize structs which capture the application state, suitable for persistence, history, etc. features.
utils
Utility functions that are common to the Perspective crates.

Structs§

Client
An instance of a Client is a unique connection to a single perspective_server::Server, whether locally in-memory or remote over some transport like a WebSocket.
OnUpdateOptions
ProxySession
A Session implementation which tunnels through another Client.
SystemInfo
Metadata about the engine runtime (such as total heap utilization).
Table
TableInitOptions
Options which impact the behavior of Client::table, as well as subsequent calls to Table::update.
UpdateOptions
ValidateExpressionsData
View
The View struct is Perspective’s query and serialization interface. It represents a query on the Table’s dataset and is always created from an existing Table instance via the Table::view method.
ViewOnUpdateResp
ViewWindow

Enums§

ColumnType
View types
OnUpdateMode
SortOp
TODO This belongs in features
TableData
The possible formats of input data which Client::table may take as an argument.
TableReadFormat
UpdateData
The possible formats of input data which Table::update may take as an argument.

Traits§

ClientHandler
Session
The server-side representation of a connection to a Client.

Type Aliases§

ClientError
ExprValidationError
Features
Metadata about what features are supported by the Server this Client is connected to.
ReconnectCallback
The type of the reconnect parameter passed to [Client::handle_error}, and to the callback closure of Client::on_error.
Schema