reth::core::primitives::arbitrary::size_hint

Function and_all

pub fn and_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>)
Expand description

Take the sum of all of the given size hints.

If hints is empty, returns (0, Some(0)), aka the size of consuming nothing.