Crate mempool_space
source ·Expand description
mempool_space, a mempool.space API lib.
Author: @RandyMcMillan (randy.lee.mcmillan@gmail.com) https://github.com/RandyMcMillan/mempool_space.git
Re-exports§
pub use error::CheckTargetError;pub use error::ParseTargetError;pub use error::ResolveTargetError;pub use resolve_policy::ResolvePolicy;pub use target::Fqhn;pub use target::IcmpTarget;pub use target::Port;pub use target::Status;pub use target::Target;pub use target::TcpTarget;pub use async_target::AsyncTarget;pub use async_target::AsyncTargetExecutor;pub use async_target::BoxedHandler;pub use async_target::BoxedTarget;pub use async_target::OldStatus;
Modules§
- Command-line argument parser.
pub mod async_targetModule contains utilities for asynchronous, iterative “Target” reachability checking.pub mod blockheight- Configuration file parser.
pub mod errorModule containing all custom error types. All type shall implement Error.pub mod resolve_policyModule containing everything related network name resolution and filtering of the resolved IP addresses.pub mod targetModule containing “Target” related functionality.- Custom error implementation.
- Upload handler.
Functions§
pub fn blocking(api: &String) -> Result<&str>pub fn run(args: Args) -> Result<()>