mod client¶
- module client¶
Structs and Unions
- struct RpcClient¶
A synchronous RPC client that wraps the Cap’n Proto async transport.
Implementations
- impl RpcClient¶
Functions
- fn new(addr: &str) -> Result<Self, Box<dyn std::error::Error>>¶
Creates a new RPC client targeting the given address.
- fn parse_bytes(&self, data: &[u8]) -> Result<Vec<ConFrame>, Box<dyn std::error::Error>>¶
Parses raw file bytes via the RPC server.