LCOV - code coverage report
Current view: top level - libs/utils/src - bin_ser.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 86.2 % 188 162
Test Date: 2024-09-24 13:57:57 Functions: 50.2 % 237 119

Function Name Sort by function name Hit count Sort by function hit count
<_ as utils::bin_ser::BeSer>::ser_into_slice 0
<_ as utils::bin_ser::LeSer>::ser_into_slice 0
<pageserver::repository::Value as utils::bin_ser::BeSer>::serialized_size::{closure#0} 0
::serialized_size::{closure#0} 0
::serialized_size::{closure#0} 0
::serialized_size::{closure#0} 0
<pageserver::walredo::process::protocol::BufferTag as utils::bin_ser::BeSer>::ser_into::<alloc::vec::Vec<u8>>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>>::{closure#0} 0
::ser_into::<>::try_from::Crc32Sink>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>>::{closure#0} 0
<safekeeper::state::TimelinePersistentState as utils::bin_ser::LeSer>::ser_into::<alloc::vec::Vec<u8>>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>::{closure#0} 0
::ser_into::>>::{closure#0} 0
<utils::bin_ser::DeserializeError as core::fmt::Display>::fmt 0
<utils::bin_ser::SerializeError as core::convert::From<alloc::boxed::Box<bincode::error::ErrorKind>>>::from 0
<utils::bin_ser::SerializeError as core::fmt::Display>::fmt 0
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::serialized_size::{closure#0} 0
::serialized_size::{closure#0} 0
::serialized_size::{closure#0} 0
<utils::id::Id as utils::bin_ser::BeSer>::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
::ser::{closure#0} 0
<bin_ser_test::HeaderData as utils::bin_ser::LeSer>::des_from::<&[u8]>::{closure#0} 1
::des_from::<&[u8]>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 1
<utils::bin_ser::tests::ShortStruct as utils::bin_ser::BeSer>::des_from::<std::io::cursor::Cursor<&[u8]>>::{closure#0} 1
::des_from::>::{closure#0} 0
::des_from::>::{closure#0} 1
utils::bin_ser::tests::be_long 1
utils::bin_ser::tests::be_short 1
utils::bin_ser::tests::le_long 1
utils::bin_ser::tests::le_short 1
<<utils::bin_ser::tests::LongMsg as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 2
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<utils::bin_ser::DeserializeError as core::convert::From<alloc::boxed::Box<bincode::error::ErrorKind>>>::from 2
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::serialized_size 2
::serialized_size 1
::serialized_size 1
<utils::bin_ser::tests::ShortStruct as utils::bin_ser::BeSer>::des_from::<std::io::cursor::Cursor<&[u8]>> 2
::des_from::> 1
::des_from::> 1
<safekeeper::state::TimelinePersistentState as utils::bin_ser::LeSer>::ser_into::<alloc::vec::Vec<u8>> 3
::ser_into::> 0
::ser_into::>> 1
::ser_into::> 2
<<utils::bin_ser::tests::ShortStruct as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 10
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
<utils::bin_ser::tests::ShortStruct as utils::bin_ser::LeSer>::des_prefix 13
::des_prefix 0
::des_prefix 0
::des_prefix 0
::des_prefix 1
::des_prefix 12
<utils::bin_ser::tests::ShortStruct as utils::bin_ser::BeSer>::des_prefix 3457
::des_prefix 1
::des_prefix 318
::des_prefix 3138
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::ser 48848
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 0
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 2
::ser 2
::ser 2
::ser 6
::ser 18
::ser 91
::ser 16239
::ser 32478
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::des 475323
::des 0
::des 1
::des 1
::des 1
::des 1
::des 1
::des 1
::des 2
::des 2
::des 2
::des 8
::des 26
::des 32
::des 42
::des 42
::des 37563
::des 437598
<bin_ser_test::HeaderData as utils::bin_ser::LeSer>::des_from::<&[u8]> 561895
::des_from::<&[u8]> 1
::des_from::> 1
::des_from::> 1
::des_from::> 2
::des_from::> 2
::des_from::> 2
::des_from::> 2
::des_from::> 4114
::des_from::> 4115
::des_from::> 4319
::des_from::> 10054
::des_from::> 11618
::des_from::> 12802
::des_from::> 77306
::des_from::> 437556
utils::bin_ser::le_coder 1086084
<utils::id::Id as utils::bin_ser::BeSer>::ser 6261343
::ser 0
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 2
::ser 6
::ser 24
::ser 60
::ser 60
::ser 534
::ser 552
::ser 606
::ser 5790
::ser 6253704
<utils::id::Id as utils::bin_ser::BeSer>::des 8260349
::des 0
::des 0
::des 0
::des 1
::des 1
::des 1
::des 1
::des 2
::des 2
::des 6
::des 84
::des 144
::des 156
::des 882
::des 2646
::des 5796
::des 6738
::des 8243889
<pageserver::walredo::process::protocol::BufferTag as utils::bin_ser::BeSer>::ser_into::<alloc::vec::Vec<u8>> 15276853
::ser_into::>> 1
::ser_into::> 30
::ser_into::> 48
::ser_into::<>::try_from::Crc32Sink> 108
::ser_into::> 924
::ser_into::> 4212
::ser_into::>> 15271530
<pageserver::repository::Value as utils::bin_ser::BeSer>::serialized_size 15307988
::serialized_size 1
::serialized_size 1
::serialized_size 15307986
utils::bin_ser::be_coder 45109992

Generated by: LCOV version 2.1-beta