[−][src]Crate pegnetd
A json-rpc client for pegnetd
Re-exports
pub extern crate tokio; |
pub use constants::*; |
pub use requests::*; |
pub use responses::*; |
pub use api::*; |
Modules
api | Holds the base client struct along with the api call functions |
constants | Constants for use with the library |
header | HTTP header types |
requests | General request handling and the ApiRequest struct |
responses | Contains the generic api response struct along with specific structs for each indiviual endpoint |
Structs
Certificate | Represent a server X509 certificate. |
Error | The Errors that may occur when processing a |
Identity | Represent a private key and X509 cert as a client certificate. |
Method | The Request Method (VERB) |
Proxy | Configuration of a proxy that a |
RedirectAction | An action to perform when a redirect status code is found. |
RedirectAttempt | A type that holds information on the next request and previous requests in redirect chain. |
RedirectPolicy | A type that controls the policy on how to handle the following of redirects. |
Runtime | Handle to the Tokio runtime. |
StatusCode | An HTTP status code ( |
Url | A parsed URL record. |
Version | Represents a version of the HTTP spec. |
Traits
AsyncBufRead | Read bytes asynchronously. |
AsyncRead | Read bytes asynchronously. |
AsyncWrite | Writes bytes asynchronously. |
Future | A future represents an asynchronous computation. |
IntoUrl | A trait to try to convert some type into a |
Sink | A |
Stream | A stream of values produced asynchronously. |
_ | An extension trait for |
_ | An extension trait for |
_ | An extension trait for |
_ | An extension trait for |
_ | An extension trait for |
_ | An extension trait which adds utility methods to |
_ | An extension trait which adds utility methods to |
_ | An extension trait which adds utility methods to |
Functions
get | Shortcut method to quickly make a |
Type Definitions
Result | A |