Structs§
- Local
Client - A
Client
specialized for connecting to an in-processServer
. - Local
Session - A struct for implementing
perspective_client::Session
against an same-processServer
instance. - Server
- An instance of a Perspective server. Each
Server
instance is separate, and does not shareperspective_client::Table
(or other) data with otherServer
s.
Traits§
- Session
Handler - Use
SessionHandler
to implement a callback for messages emitted from a [Session
], to be passed to theServer::new_session
constructor.
Functions§
- num_
cpus - Returns the number of threads the internal threadpool will use.
- set_
num_ cpus - Set the number of threads the internal threadpool will use. Can also be set
with
NUM_OMP_THREADS
environment variable.