workflow-websocket 0.18.0

WebSocket crate (client and server) providing an async Rust API that functions uniformly in native and in browser (WASM32) environments. This crate allows you to develop WebSocket-driven data exchange that function uniformly in web and desktop applications.
Documentation
1
2
3
4
5
6
7
//! Result module encapsulating [`Result`] enum used
//! by the [`WebSocketServer`](super::WebSocketServer)
use super::error::Error;

/// [`Result`] encapsulating [`Error`] produced
/// by the [`WebSocketServer`](super::WebSocketServer)
pub type Result<T> = std::result::Result<T, Error>;