Skip to main content

Module protocol

Module protocol 

Source
Expand description

Protocol module containing protocol handlers in charge of incoming and outgoing message serialization and RPC method and notification dispatch.

Re-exports§

pub use crate::server::result::Result;
pub use self::borsh::BorshProtocol;
pub use self::serde_json::JsonProtocol;

Modules§

borsh
Module containing BorshProtocol responsible for server-side dispatch of RPC methods and notifications when using Borsh protocol.
serde_json
Module containing JsonProtocol responsible for server-side dispatch of RPC methods and notifications when using JSON protocol.

Traits§

ProtocolHandler
Base trait for BorshProtocol and JsonProtocol protocol handlers