Skip to main content

Crate latzero

Crate latzero 

Source
Expand description

Async client for the newline-delimited JSON protocol exposed by latzero-server.

This crate intentionally implements server mode only. The Python client’s process-local shared-memory mode is Python-specific and is not part of the cross-language wire protocol.

Re-exports§

pub use protocol::AppResult;
pub use protocol::BufferEntry;
pub use protocol::BufferUpdate;
pub use protocol::EmittedEvent;
pub use protocol::Message;
pub use protocol::MessageType;
pub use protocol::PoolStats;
pub use protocol::PresenceUpdate;
pub use protocol::ProcessInfo;
pub use protocol::ProcessRegistration;
pub use protocol::ProcessScale;
pub use protocol::ScanResult;
pub use protocol::WorkerKind;
pub use protocol::WorkerMetrics;

Modules§

protocol
Public wire and payload models for latzero-server.

Structs§

Client
Cloneable, asynchronous client for one latzero-server connection.
ClientBuilder
Builder for Client.
EventEmitter
Event API that prefixes event names as namespace:event.
EventHandlerId
Identifier returned when an event handler is installed.
Namespace
A key prefix applied as prefix:key.
ProcessOptions
Options for a server-side process registration and its local task pool.

Enums§

CallOutcome
Result of a call that may route its response to a third client.
ClientEvent
Unsolicited messages and lifecycle changes received from the server.
Error
Errors produced by the LatZero client.

Type Aliases§

Result