Expand description

Types subcrate for kitsune-p2p.

Re-exports

pub use kitsune_p2p_dht_arc as dht_arc;

Modules

Data structures to be stored in the agent/peer database.

utility for lazy init-ing things

Binary types, hashes, signatures, etc used by kitsune.

Types for the bootstrap server

Encoding / Decoding utilities.

Kitsune Config Tuning Params

Re-exported dependencies.

Utilities for helping with metric tracking.

TLS utils for kitsune

A collection of definitions related to remote communication.

A mem-only transport - largely for testing

Unify multiple sub-transports into one pool.

Next-gen performance kitsune transport abstractions

Macros

DSL-style macro for generating a serialization protocol message enum.

Structs

The 32 byte blake2b digest of given Tls Certificate.

Kitsune Backoff

Error related to remote communication.

Kitsune Timeout

Wrapper around CertDigest that provides some additional debugging helpers.

Enums

Item Type for auto_stream_select function.

Error related to remote communication.

Functions

Merge two sub-streams so they can be polled in parallel, but still know when each individually ends, unlike futures::stream::select()

Monotonically nondecreasing process tick count, backed by std::time::Instant as an i64 to facilitate reference times that may be less than the first call to this function. The returned value is on the scale of microseconds.

Get the elapsed process count duration from a captured ProcCount to now. If the duration would be negative, this fn returns a zero Duration.

Type Definitions

Result type for remote communication.

Typedef for result of proc_count_now(). This value is on the scale of microseconds.