[−][src]Crate factom
A rust client for the Factom network API.
Documentation for the api calls are located on the Factom struct page
Re-exports
pub use futures; |
pub use utils::*; |
pub use errors::FetchError; |
pub use errors::FactomError; |
Modules
errors | Error handling for networking, json parsing and the API. |
factomd | Contains all the factomd api calls |
future | Futures |
stream | Asynchronous streams |
task | Tasks used to drive a future computation |
utils | Basic helper functions |
walletd | Contains all the walletd api calls |
Structs
ApiRequest | Struct is serialized into the JSON body of the request |
Factom | Main struct from which API requests are built |
Response | JSON responses are deserialized into this struct |
Runtime | Handle to the Tokio runtime. |
Enums
Async | Return type of future, indicating whether a value is ready or not. |
AsyncSink | The result of an asynchronous attempt to send a value to a sink. |
Outcome | Handles the JSON result or error |
Traits
AsyncRead | Read bytes asynchronously. |
AsyncWrite | Writes bytes asynchronously. |
Future | Trait for types which are a placeholder of a value that may become available at some later point in time. |
FutureExt | An extension trait for |
IntoFuture | Class of types which can be converted into a future. |
Read | The |
Sink | A |
Stream | A stream of values, not all of which may have been produced yet. |
StreamExt | An extension trait for |
Write | A trait for objects which are byte-oriented sinks. |
Type Definitions
Poll | Return type of the |