Expand description

Types subcrate for kitsune-p2p.

Re-exports

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.
  • Combinator functions, for more easeful functional programming
  • Kitsune Config Tuning Params
  • Types used for consistency checking during tests or dht health checks. These types describe a protocol that can be implemented to gather statistics on data consistency. This is a first prototype so expect this to change.
  • Re-exported dependencies.
  • Utilities for helping with metric tracking.
  • ReverseSemaphore allow waiting for all permits to be released.
  • Task Aggregation helper utility
  • TLS utils for kitsune
  • Next-gen performance kitsune transport abstractions

Macros

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

Structs

Enums

Traits

Functions

  • Merge two sub-streams so they can be polled in parallel, but still know when each individually ends, unlike futures::stream::select()
  • Helper function for the common case of returning this boxed future type.
  • Helper function for the common case of returning this boxed future type.
  • Monotonically nondecreasing process tick count, backed by tokio::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.
  • Helper function for the common case of returning this nested Unit type.

Type Definitions