Module prelude

Source
Expand description

Convenience module exporting all types required for the client use.

Re-exports§

pub use crate::client::result::Result as ClientResult;
pub use crate::client::BorshProtocol;
pub use crate::client::Interface;
pub use crate::client::JsonProtocol;
pub use crate::client::Options as RpcClientOptions;
pub use crate::client::RpcClient;
pub use crate::encoding::Encoding;

Macros§

notification
notification!() macro for declaration of RPC notification handlers

Structs§

ConnectOptions
ConnectOptions is used to configure the WebSocket connectivity behavior.

Enums§

ConnectStrategy
ConnectionStrategy specifies how the WebSocket async fn connect() function should behave during the first-time connectivity phase. @category WebSocket