Expand description
OpenADP Rust Client Implementation
This module provides Rust client implementations for OpenADP servers, matching the Go and Python client functionality exactly:
- OpenADPClient: Basic JSON-RPC client (no encryption)
- EncryptedOpenADPClient: JSON-RPC client with Noise-NK encryption
- MultiServerClient: High-level client managing multiple servers
All clients implement standardized interfaces for cross-language compatibility.
Structs§
- Backup
Info - Information about a backup
- Encrypted
OpenADP Client - Encrypted OpenADP client with Noise-NK encryption
- Json
RpcError - JSON-RPC 2.0 error structure
- Json
RpcRequest - JSON-RPC 2.0 request structure
- Json
RpcResponse - JSON-RPC 2.0 response structure
- List
Backups Request - Standardized request for ListBackups operation
- List
Backups Response - Standardized response for ListBackups operation
- Multi
Server Client - Multi-server client managing multiple servers
- NoiseNK
- Noise-NK protocol implementation using Snow
- OpenADP
Client - Basic OpenADP client with JSON-RPC communication (no encryption)
- Recover
Secret Request - Standardized request for RecoverSecret operation
- Recover
Secret Response - Standardized response for RecoverSecret operation
- Register
Secret Request - Standardized request for RegisterSecret operation
- Register
Secret Response - Standardized response for RegisterSecret operation
- Server
Info - Server information from registry or configuration
- Server
Info Response - Standardized response for GetServerInfo operation
- Servers
Response - Server discovery functions JSON response from server registry
Enums§
Functions§
- discover_
servers - Discover servers with fallback
- generate_
keypair - Generate X25519 keypair for Noise-NK
- get_
fallback_ server_ info - Get fallback server info (matching Go implementation)
- get_
fallback_ servers - Get fallback server URLs (matching Go implementation)
- get_
server_ urls - Get server URLs from registry
- get_
servers - Get servers from registry
- parse_
server_ public_ key - Parse server public key from base64