LCOV - code coverage report
Current view: top level - libs/utils/src - bin_ser.rs (source / functions) Coverage Total Hit
Test: 7eb96e224e685167ad85f58f858387d8cf253f63.info Lines: 86.2 % 188 162
Test Date: 2024-09-23 21:23:07 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 3451
::des_prefix 1
::des_prefix 318
::des_prefix 3132
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::ser 51687
::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 95
::ser 17184
::ser 34368
<utils::bin_ser::tests::LongMsg as utils::bin_ser::LeSer>::des 478578
::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 40818
::des 437598
<bin_ser_test::HeaderData as utils::bin_ser::LeSer>::des_from::<&[u8]> 566946
::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::> 12802
::des_from::> 12928
::des_from::> 13151
::des_from::> 77950
::des_from::> 437556
utils::bin_ser::le_coder 1097229
<utils::id::Id as utils::bin_ser::BeSer>::ser 6260725
::ser 0
::ser 1
::ser 1
::ser 1
::ser 1
::ser 1
::ser 2
::ser 6
::ser 24
::ser 60
::ser 60
::ser 528
::ser 546
::ser 600
::ser 5790
::ser 6253104
<utils::id::Id as utils::bin_ser::BeSer>::des 8258759
::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 876
::des 2628
::des 5796
::des 6732
::des 8242329
<pageserver::walredo::process::protocol::BufferTag as utils::bin_ser::BeSer>::ser_into::<alloc::vec::Vec<u8>> 15276799
::ser_into::>> 1
::ser_into::> 30
::ser_into::> 48
::ser_into::<>::try_from::Crc32Sink> 108
::ser_into::> 918
::ser_into::> 4206
::ser_into::>> 15271488
<pageserver::repository::Value as utils::bin_ser::BeSer>::serialized_size 15307946
::serialized_size 1
::serialized_size 1
::serialized_size 15307944
utils::bin_ser::be_coder 45107682

Generated by: LCOV version 2.1-beta