Skip to main content

Crate secretspec_ipc

Crate secretspec_ipc 

Source
Expand description

SecretSpec IPC version 1.

The checked-in JSON schemas and protocol documents are canonical. This crate is an independent Rust implementation of their wire, client, server, resolution, and provider state machines.

Re-exports§

pub use deadline::unix_ms_after as deadline_unix_ms_after;
pub use error::Error;
pub use error::ErrorData;
pub use error::ErrorKind;
pub use error::InteractionKind;
pub use error::InteractionReference;
pub use error::Result;
pub use error::RpcError;
pub use jsonrpc::Envelope;
pub use jsonrpc::Notification;
pub use jsonrpc::Request;
pub use jsonrpc::RequestId;
pub use jsonrpc::Response;
pub use protocol::Limits;
pub use protocol::Product;
pub use revision::Revision;

Modules§

client
connection
Resolver connection configuration (0.21+).
deadline
error
frame
jsonrpc
launch
Child-process launch configuration for local endpoints and SSH (0.21+).
lifecycle
protocol
provider
resolver
revision
Opaque, non-secret revision metadata (0.21+).
server

Constants§

ABSOLUTE_MAX_FRAME_BYTES
Absolute pre-negotiation and version 1 frame ceiling.
MAX_IN_FLIGHT
Version 1 in-flight ceiling.
MAX_REQUEST_ID
Largest request ID that is exactly representable by JSON/JavaScript peers.
MIN_FRAME_BYTES
Smallest negotiable frame limit.
WIRE_VERSION
Wire protocol major version implemented by this crate.