LCOV - code coverage report
Current view: top level - proxy/src - protocol2.rs (source / functions) Coverage Total Hit
Test: 09e7485004805bd42b53a0c369170b3228136512.info Lines: 80.9 % 320 259
Test Date: 2024-11-21 18:36:18 Functions: 56.9 % 72 41

Function Name Sort by function name Hit count Sort by function hit count
<proxy::protocol2::ChainRW<tokio::net::tcp::stream::TcpStream> as tokio::io::async_write::AsyncWrite>::is_write_vectored 0
<proxy::protocol2::ChainRW<tokio::net::tcp::stream::TcpStream> as tokio::io::async_write::AsyncWrite>::poll_shutdown 0
<proxy::protocol2::ConnectionInfo as core::fmt::Display>::fmt 0
<proxy::protocol2::NetworkEndianIpv4 as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
<proxy::protocol2::NetworkEndianIpv6 as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
<proxy::protocol2::Pp2AwsType>::from_repr 0
<proxy::protocol2::Pp2AzureType>::from_repr 0
<proxy::protocol2::ProxyProtocolV2Header as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
<proxy::protocol2::ProxyProtocolV2HeaderV4 as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
<proxy::protocol2::ProxyProtocolV2HeaderV6 as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
<proxy::protocol2::TlvHeader as zerocopy::FromBytes>::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
::only_derive_is_allowed_to_implement_this_trait 0
proxy::protocol2::process_proxy_payload::{closure#0} 0
proxy::protocol2::process_proxy_payload::{closure#1} 0
<proxy::protocol2::NetworkEndianIpv6>::get 1
<proxy::protocol2::Pp2Kind>::from_repr 1
<proxy::protocol2::NetworkEndianIpv4>::get 2
proxy::protocol2::tests::test_invalid 2
proxy::protocol2::tests::test_invalid 1
proxy::protocol2::tests::test_invalid::{closure#0} 1
proxy::protocol2::tests::test_ipv4 2
proxy::protocol2::tests::test_ipv4 1
proxy::protocol2::tests::test_ipv4::{closure#0} 1
proxy::protocol2::tests::test_ipv6 2
proxy::protocol2::tests::test_ipv6 1
proxy::protocol2::tests::test_ipv6::{closure#0} 1
proxy::protocol2::tests::test_large_tlv 2
proxy::protocol2::tests::test_large_tlv 1
proxy::protocol2::tests::test_large_tlv::{closure#0} 1
proxy::protocol2::tests::test_local 2
proxy::protocol2::tests::test_local 1
proxy::protocol2::tests::test_local::{closure#0} 1
proxy::protocol2::tests::test_short 2
proxy::protocol2::tests::test_short 1
proxy::protocol2::tests::test_short::{closure#0} 1
proxy::protocol2::process_proxy_payload 4
proxy::protocol2::read_tlv 4
<proxy::protocol2::ChainRW<tokio::io::util::mem::DuplexStream> as tokio::io::async_write::AsyncWrite>::poll_write 15
as tokio::io::async_write::AsyncWrite>::poll_write 0
as tokio::io::async_write::AsyncWrite>::poll_write 15
<bytes::bytes_mut::BytesMut as proxy::protocol2::BufExt>::try_get::<proxy::protocol2::TlvHeader> 19
::try_get:: 1
::try_get:: 2
::try_get:: 4
::try_get:: 12
<proxy::protocol2::ChainRW<&[u8]>>::read_from_buf 19
, &[u8]>, &[u8]>>>::read_from_buf 0
, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>>>::read_from_buf 0
, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>>>::read_from_buf 0
>::read_from_buf 0
>::read_from_buf 4
>::read_from_buf 15
proxy::protocol2::read_proxy_protocol::<_> 21
proxy::protocol2::read_proxy_protocol::<_> 0
proxy::protocol2::read_proxy_protocol:: 0
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>> 1
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> 1
proxy::protocol2::read_proxy_protocol::<&[u8]> 2
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> 2
proxy::protocol2::read_proxy_protocol:: 15
proxy::protocol2::read_proxy_protocol::<_>::{closure#0} 21
proxy::protocol2::read_proxy_protocol::<_>::{closure#0} 0
proxy::protocol2::read_proxy_protocol::::{closure#0} 0
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>>::{closure#0} 1
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>>::{closure#0} 1
proxy::protocol2::read_proxy_protocol::<&[u8]>::{closure#0} 2
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>>::{closure#0} 2
proxy::protocol2::read_proxy_protocol::::{closure#0} 15
<proxy::protocol2::ChainRW<tokio::io::util::mem::DuplexStream> as tokio::io::async_write::AsyncWrite>::poll_write_vectored 59
as tokio::io::async_write::AsyncWrite>::poll_write_vectored 0
as tokio::io::async_write::AsyncWrite>::poll_write_vectored 59
<proxy::protocol2::ChainRW<tokio::io::util::mem::DuplexStream> as tokio::io::async_write::AsyncWrite>::poll_flush 74
as tokio::io::async_write::AsyncWrite>::poll_flush 0
as tokio::io::async_write::AsyncWrite>::poll_flush 74
<proxy::protocol2::ChainRW<&[u8]> as tokio::io::async_read::AsyncRead>::poll_read 172
as tokio::io::async_read::AsyncRead>::poll_read 0
, &[u8]>, &[u8]>> as tokio::io::async_read::AsyncRead>::poll_read 5
, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> as tokio::io::async_read::AsyncRead>::poll_read 5
as tokio::io::async_read::AsyncRead>::poll_read 7
, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> as tokio::io::async_read::AsyncRead>::poll_read 10
as tokio::io::async_read::AsyncRead>::poll_read 145

Generated by: LCOV version 2.1-beta