workflow-rpc 0.18.0

Workflow RPC (wRPC) framework based on the workflow-websocket crate offering native & in-browser (WASM32) clients and a native server (based on tokio & tungstenite). wRPC supports custom Borsh and JSON protocols with use of generics for RPC method declarations.
Documentation
1
2
3
4
5
6
7
8
9
//!
//! Result enum encapsulating [`super::error::Error`]
//! enum common to client and server
//!

pub type Result<T> = std::result::Result<T, super::error::Error>;

// use super::messages::borsh::ServerError;
pub type ServerResult<T> = std::result::Result<T, super::error::ServerError>;