Crate spatio_server

Crate spatio_server 

Source
Expand description

Spatio Server

High-performance server for Spatio spatio-temporal database.

§Transports

  • RPC (default): High-performance tarpc-based transport
  • HTTP (optional): REST API, enable with http feature

§Example

use spatio_server::run_server;

run_server(listener, db, shutdown).await?;

Re-exports§

pub use protocol::CurrentLocation;
pub use protocol::LocationUpdate;
pub use protocol::SpatioService;
pub use protocol::SpatioServiceClient;
pub use protocol::Stats;
pub use transport::rpc::run_server;

Modules§

handler
Handler implementation for Spatio RPC service
protocol
Protocol definitions for Spatio RPC
reader
transport
writer