reth_node_core::primitives::arbitrary

Module size_hint

Expand description

Utilities for working with and combining the results of Arbitrary::size_hint.

Functionsยง

  • Take the sum of the lhs and rhs size hints.
  • Take the sum of all of the given size hints.
  • Take the minimum of the lower bounds and maximum of the upper bounds in the lhs and rhs size hints.
  • Take the maximum of the lhs and rhs size hints.
  • recursion_guardDeprecated
    Protects against potential infinite recursion when calculating size hints due to indirect type recursion.
  • Protects against potential infinite recursion when calculating size hints due to indirect type recursion.