Module forest_filecoin::rpc
source · Re-exports§
pub use client::Client;
pub use error::ServerError;
pub use reflect::ApiVersion;
pub use reflect::RpcMethod;
pub use reflect::RpcMethodExt;
pub use request::Request;
pub use crate::rpc::channel::CANCEL_METHOD_NAME;
pub use methods::*;
Modules§
- channel 🔒Subscription related types and traits for server implementations.
- client 🔒Design Goals
- error 🔒
- methods 🔒All the methods live in their own folder
- All handler definitions.
- reflect 🔒Forest wishes to provide OpenRPC definitions for Filecoin APIs. To do this, it needs:
- request 🔒
- Types that are shared between APIs.
Structs§
- This is where you store persistent data, or at least access to stateful data.
Enums§
- Protocol or transport-specific error Error type.
Constants§
Statics§
- Request timeout read from environment variables