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::read_message_into;pub use io::write_message;pub use io::write_message_complex_slice;pub use io::write_message_streaming;pub use io::write_message_typed_slice;pub use json_pointer::evaluate as eval_json_pointer;pub use json_pointer::parse as parse_json_pointer;pub use message::Message;pub use message::MessageView;pub use peer::CallContext;pub use peer::NotifyBody;pub use peer::PeerHandle;pub use peer::PeerId;pub use peer::PeerRegistry;pub use peer::PeerSendError;pub use peer::PeerSink;pub use registry::Registry;pub use registry::RegistryCallable;pub use registry::RegistryError;pub use registry::WithContext;pub use server::Server;pub use server::Execution;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 stream::CreditError;pub use stream::DEFAULT_BACKPRESSURE_TIMEOUT;pub use stream::DEFAULT_IDLE_TIMEOUT;pub use stream::DEFAULT_RECONNECT_TIMEOUT;pub use stream::DEFAULT_REPLAY_RING_BYTES;pub use stream::DEFAULT_WINDOW_BYTES;pub use stream::PendingResume;pub use stream::ReconnectOutcome;pub use stream::ResumeRejection;pub use stream::RingChunk;pub use stream::TransferControl;pub use stream::TransferRegistry;pub use stream::spawn_watchdog;pub use structs::RepeStruct;pub use structs::StructError;pub use udp_client::UniUdpClient;pub use uniudp_fleet::SendResult;pub use uniudp_fleet::UniUdpFleet;pub use uniudp_fleet::UniUdpNode;pub use uniudp_fleet::UniUdpNodeConfig;pub use value_stream::AsyncSvsClient;pub use value_stream::Compression;pub use value_stream::RouterValueStreamExt;pub use value_stream::StreamOpts;pub use value_stream::StreamOutput;pub use value_stream::pull_complex_slice;pub use value_stream::pull_complex_slice_async;pub use value_stream::pull_consume;pub use value_stream::pull_consume_async;pub use value_stream::pull_stream;pub use value_stream::pull_to_beve_file;pub use value_stream::pull_to_beve_zst_file;pub use value_stream::pull_to_file;pub use value_stream::pull_to_file_async;pub use value_stream::pull_to_file_trailer_verified;pub use value_stream::pull_to_file_trailer_verified_async;pub use value_stream::pull_to_file_verified_async;pub use value_stream::pull_to_vec;pub use value_stream::pull_to_vec_async;pub use value_stream::pull_typed_slice;pub use value_stream::pull_typed_slice_async;pub use value_stream::pull_value;pub use value_stream::pull_value_async;pub use error::AlreadySubscribed;pub use websocket_client::WebSocketClient;pub use websocket_limits::DEFAULT_MAX_FRAME_SIZE;pub use websocket_limits::DEFAULT_MAX_MESSAGE_SIZE;pub use websocket_limits::WebSocketLimits;pub use websocket_server::ConnectionError;pub use websocket_server::HandshakeContext;pub use websocket_server::ShutdownToken;pub use websocket_server::WebSocketServer;pub use websocket_server::derive_accept_key;pub use websocket_server::is_websocket_upgrade;pub use websocket_server::proxy_connection;pub use tokio_tungstenite;
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
- peer
- Peer-aware handler routing.
- registry
- server
- stream
- Backpressure-controlled streaming over REPE notifies.
- structs
- udp_
client - uniudp_
fleet - value_
stream - Streaming transfer of a serialized, optionally zstd-compressed in-memory value over ordinary REPE request/response — the Serialized Value Stream (SVS) wire contract.
- websocket_
client - websocket_
limits - Size limits for a REPE WebSocket connection.
- websocket_
server
Structs§
- Complex
- Re-exported from
bevefor the typed-numeric body fast path: the element trait bound forMessageBuilder::body_typed_slice/Message::decode_typed_sliceand the complex element type. Lets callers use the numeric body API without namingbevedirectly.
Traits§
- Beve
Typed Slice - Re-exported from
bevefor the typed-numeric body fast path: the element trait bound forMessageBuilder::body_typed_slice/Message::decode_typed_sliceand the complex element type. Lets callers use the numeric body API without namingbevedirectly.
Derive Macros§
- Repe
Struct - Derive macro to generate
structs::RepeStructimplementations.