Skip to main content

Crate repe

Crate repe 

Source
Expand description

REPE (Remote Efficient Protocol Extension) - Rust implementation

Supports JSON, UTF-8, raw binary, and BEVE body formats. Spec reference: https://github.com/beve-org/beve

Re-exports§

pub use async_client::AsyncClient;
pub use async_fleet::AsyncFleet;
pub use async_server::AsyncServer;
pub use client::Client;
pub use constants::BodyFormat;
pub use constants::ErrorCode;
pub use constants::HEADER_SIZE;
pub use constants::QueryFormat;
pub use constants::REPE_SPEC;
pub use constants::REPE_VERSION;
pub use error::RepeError;
pub use fleet::ConnectSummary;
pub use fleet::DisconnectSummary;
pub use fleet::Fleet;
pub use fleet::FleetError;
pub use fleet::FleetOptions;
pub use fleet::HealthStatus;
pub use fleet::Node;
pub use fleet::NodeConfig;
pub use fleet::ReconnectSummary;
pub use fleet::RemoteResult;
pub use fleet::RetryPolicy;
pub use header::Header;
pub use io::read_message;
pub use io::write_message;
pub use json_pointer::evaluate as eval_json_pointer;
pub use json_pointer::parse as parse_json_pointer;
pub use message::Message;
pub use registry::Registry;
pub use registry::RegistryCallable;
pub use registry::RegistryError;
pub use server::Server;
pub use server::IntoTypedResponse;
pub use server::JsonTypedHandler;
pub use server::LockError;
pub use server::Lockable;
pub use server::Middleware;
pub use server::Next;
pub use server::Router;
pub use server::TypedResponse;
pub use structs::RepeStruct;
pub use structs::StructError;

Modules§

async_client
async_fleet
async_io
async_server
client
constants
Protocol constants and enums derived from the REPE spec.
error
fleet
header
io
json_pointer
message
registry
server
structs

Derive Macros§

RepeStruct
Derive macro to generate structs::RepeStruct implementations.