LCOV - code coverage report
Current view: top level - proxy/src - protocol2.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 88.5 % 226 200
Test Date: 2024-10-22 22:13:45 Functions: 66.7 % 36 24

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::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_short 2
proxy::protocol2::tests::test_short 1
proxy::protocol2::tests::test_short::{closure#0} 1
<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
<proxy::protocol2::ChainRW<&[u8]>>::read_from_buf 19
, &[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::<_> 20
proxy::protocol2::read_proxy_protocol::<_> 0
proxy::protocol2::read_proxy_protocol:: 0
proxy::protocol2::read_proxy_protocol::<&[u8]> 2
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> 3
proxy::protocol2::read_proxy_protocol:: 15
proxy::protocol2::read_proxy_protocol::<_>::{closure#0} 20
proxy::protocol2::read_proxy_protocol::<_>::{closure#0} 0
proxy::protocol2::read_proxy_protocol::::{closure#0} 0
proxy::protocol2::read_proxy_protocol::<&[u8]>::{closure#0} 2
proxy::protocol2::read_proxy_protocol::, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>>::{closure#0} 3
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 167
as tokio::io::async_read::AsyncRead>::poll_read 0
as tokio::io::async_read::AsyncRead>::poll_read 7
, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>, &[u8]>> as tokio::io::async_read::AsyncRead>::poll_read 15
as tokio::io::async_read::AsyncRead>::poll_read 145

Generated by: LCOV version 2.1-beta