[−][src]Module exonum::api
API and corresponding utilities.
Re-exports
pub use self::error::Error; |
Modules
backends | API backends. |
error | The set of errors for the Exonum API module. |
node | Exonum node API implementation. |
Structs
ApiAggregator | Exonum node API aggregator. This structure enables several API backends to operate simultaneously. Currently, only HTTP v1 backend is available. |
Immutable | Immutable endpoint marker, which enables creating an immutable kind of |
Mutable | Mutable endpoint marker, which enables creating a mutable kind of |
NamedWith | API Endpoint extractor that also contains the endpoint name and its kind. |
ServiceApiBuilder | Service API builder, which is used to add service-specific endpoints to the node API. |
ServiceApiScope | Service API builder for the concrete API scope or in other words access level (public or private). |
ServiceApiState | Provides the current blockchain state to API handlers. |
With | API endpoint handler extractor which can extract a handler from various entities. |
Enums
ApiAccess | Exonum API access level, either private or public. |
Traits
ExtendApiBackend | API backend extender. |
ServiceApiBackend | Defines an object that could be used as an API backend. |
Type Definitions
FutureResult | Type alias for the asynchronous result that will be ready in the future. |
Result | Type alias for the usual synchronous result. |