Skip to main content

Module utils

Module utils 

Source

Modulesยง

duration ๐Ÿ”’
Internal Helper types

Structsยง

BufWriter ๐Ÿ”’
Writer that writes into a &mut [u8] while checking the length of the buffer
MapIter ๐Ÿ”’
SeqIter ๐Ÿ”’

Constantsยง

NANOS_PER_SEC ๐Ÿ”’
NANOS_PER_SEC_F64 ๐Ÿ”’
U64_MAX ๐Ÿ”’

Functionsยง

array_from_iterator ๐Ÿ”’
Collect an array of a fixed size from an iterator.
duration_signed_from_secs_f64 ๐Ÿ”’
get_unexpected_i128 ๐Ÿ”’
get_unexpected_u128 ๐Ÿ”’
size_hint_cautious ๐Ÿ”’
Re-Implementation of serde::private::de::size_hint::cautious
size_hint_from_bounds
Re-Implementation of serde::private::de::size_hint::from_bounds