Crate perspective_client
source ·Modules§
- A collection of (de-)serializable structs which capture the application state, suitable for persistence, history, etc. features.
Structs§
- An instance of a
Clientis a unique connection to a singleperspective_server::Server, whether locally in-memory or remote over some transport like a WebSocket. Tableis Perspective’s columnar data frame, analogous to a PandasDataFrameor Apache Arrow, supporting append & in-place updates, removal by index, and update notifications.- Options which impact the behavior of
Client::table, as well as subsequent calls toTable::update, even though this latter method itself does not takeTableInitOptionsas an argument, since this parameter is fixed at creation.
Enums§
- The possible formats of input data which
Client::tablemay take as an argument. - The possible formats of input data which
Table::updatemay take as an argument.
Traits§
- The server-side representation of a connection to a
Client. For eachClientthat wants to connect to aperspective_server::Server, a dedicatedSessionmust be created. TheSessionhandles routing messages emitted by theperspective_server::Serverve_server::Server, as well as owning any resources the [Client`] may request.
Type Aliases§
- Metadata about what features are supported by the
ServerthisClientis connected to.