[][src]Module exonum::api

API and corresponding utilities.

Re-exports

pub use self::error::Error;

Modules

backends

API backends

error

Error module.

node

Exonum node API implementation.

Structs

ApiAggregator

Exonum node API aggregator. Currently only HTTP v1 backend is available.

Immutable

Immutable endpoint marker. With it possible to create immutable kind of NamedWith.

Mutable

Mutable endpoint marker. With it possible to create mutable kind of NamedWith.

NamedWith

API Endpoint extractor that also contains 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 handler from various entities. The basic idea of this structure is to extract type parameters from the given handler, thus, it becomes possible to distinguish different types of closures in compile time.

Enums

ApiAccess

Exonum API access level.

Traits

ExtendApiBackend

API backend extender.

ServiceApiBackend

Defines 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.