LCOV - code coverage report
Current view: top level - proxy/src - stream.rs (source / functions) Coverage Total Hit
Test: c639aa5f7ab62b43d647b10f40d15a15686ce8a9.info Lines: 92.2 % 154 142
Test Date: 2024-02-12 20:26:03 Functions: 52.0 % 171 89

Function Name Sort by function name Hit count Sort by function hit count
<proxy::stream::ReportedError as core::fmt::Debug>::fmt 0
<proxy::stream::StreamUpgradeError as core::fmt::Debug>::fmt 0
>::from 0
::source 0
::fmt 0
::fmt 0
proxy::stream::err_connection 1
<proxy::stream::PqStream<_>>::throw_error::<_, _> 11
>::throw_error::<_, _> 0
>>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError> 0
>>>::throw_error:: 0
>>::throw_error::>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError> 0
>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError> 0
>>::throw_error:: 0
>>>::throw_error::>>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError> 11
<proxy::stream::PqStream<_>>::throw_error::<_, _>::{closure#0} 11
>::throw_error::<_, _>::{closure#0} 0
>>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError>::{closure#0} 0
>>>::throw_error::::{closure#0} 0
>>::throw_error::>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError>::{closure#0} 0
>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError>::{closure#0} 0
>>::throw_error::::{closure#0} 0
>>>::throw_error::>>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError>::{closure#0} 11
<proxy::stream::PqStream<_>>::throw_error::<_, _>::{closure#0}::{closure#0} 11
>::throw_error::<_, _>::{closure#0}::{closure#0} 0
>>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError>::{closure#0}::{closure#0} 0
>>>::throw_error::::{closure#0}::{closure#0} 0
>>::throw_error::>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError>::{closure#0}::{closure#0} 0
>>::throw_error::, proxy::auth::credentials::ComputeUserInfoParseError>::{closure#0}::{closure#0} 0
>>::throw_error::::{closure#0}::{closure#0} 0
>>>::throw_error::>>, proxy::proxy::ClientRequestError>, proxy::auth::AuthError>::{closure#0}::{closure#0} 11
<proxy::stream::PqStream<_>>::throw_error_str::<_>::{closure#0}::{closure#0} 11
>::throw_error_str::<_>::{closure#0}::{closure#0} 0
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>>::{closure#0}::{closure#0} 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>>::{closure#0}::{closure#0} 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>>::{closure#0}::{closure#0} 0
>>::throw_error_str::, anyhow::Error>>::{closure#0}::{closure#0} 0
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>>::{closure#0}::{closure#0} 11
<proxy::stream::PqStream<_>>::throw_error_str::<_> 13
>::throw_error_str::<_> 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>> 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>> 0
>>::throw_error_str::, anyhow::Error>> 0
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>> 2
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>> 11
<proxy::stream::PqStream<_>>::throw_error_str::<_>::{closure#0} 13
>::throw_error_str::<_>::{closure#0} 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>>::{closure#0} 0
>>::throw_error_str::, proxy::proxy::handshake::HandshakeError>>::{closure#0} 0
>>::throw_error_str::, anyhow::Error>>::{closure#0} 0
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>>::{closure#0} 2
>>>::throw_error_str::>, proxy::proxy::handshake::HandshakeError>>::{closure#0} 11
<proxy::stream::ReportedError as proxy::error::ReportableError>::get_error_kind 22
<proxy::stream::Stream<_> as tokio::io::async_write::AsyncWrite>::poll_shutdown 42
as tokio::io::async_write::AsyncWrite>::poll_shutdown 0
as tokio::io::async_write::AsyncWrite>::poll_shutdown 0
as tokio::io::async_write::AsyncWrite>::poll_shutdown 1
> as tokio::io::async_write::AsyncWrite>::poll_shutdown 41
<proxy::stream::ReportedError as core::error::Error>::source 44
<proxy::stream::Stream<_>>::sni_hostname 53
>::sni_hostname 0
>::sni_hostname 0
>::sni_hostname 1
>>::sni_hostname 52
<proxy::stream::Stream<_>>::tls_server_end_point 66
>::tls_server_end_point 0
>::tls_server_end_point 0
>>::tls_server_end_point 24
>>::tls_server_end_point 42
<proxy::stream::Stream<_>>::from_raw 109
>::from_raw 0
>::from_raw 0
>::from_raw 2
>::from_raw 14
>>::from_raw 30
>>::from_raw 63
<proxy::stream::ReportedError as core::fmt::Display>::fmt 112
<proxy::stream::PqStream<_>>::into_inner 134
>::into_inner 0
>>::into_inner 0
>>::into_inner 1
>>::into_inner 14
>>>::into_inner 26
>>>::into_inner 93
<proxy::stream::Stream<_>>::upgrade 186
>::upgrade 0
>::upgrade::{closure#0} 0
>::upgrade 0
>::upgrade::{closure#0} 0
>::upgrade 1
>::upgrade::{closure#0} 1
>::upgrade 14
>::upgrade::{closure#0} 14
>>::upgrade 26
>>::upgrade::{closure#0} 26
>>::upgrade 52
>>::upgrade::{closure#0} 52
<proxy::stream::PqStream<_>>::new 201
>::new 0
>>::new 0
>>::new 2
>>::new 28
>>>::new 56
>>>::new 115
<proxy::stream::PqStream<_>>::get_ref 210
>::get_ref 0
>>::get_ref 0
>>::get_ref 14
>>>::get_ref 50
>>>::get_ref 146
<proxy::stream::PqStream<_>>::read_message 250
>::read_message 0
>::read_message::{closure#0} 0
>>::read_message 0
>>::read_message::{closure#0} 0
>>>::read_message 44
>>>::read_message::{closure#0} 44
>>>::read_message 81
>>>::read_message::{closure#0} 81
<proxy::stream::PqStream<_>>::read_password_message 250
>::read_password_message 0
>::read_password_message::{closure#0} 0
>>::read_password_message 0
>>::read_password_message::{closure#0} 0
>>>::read_password_message 44
>>>::read_password_message::{closure#0} 44
>>>::read_password_message 81
>>>::read_password_message::{closure#0} 81
<proxy::stream::PqStream<_>>::read_startup_packet 402
>::read_startup_packet 0
>::read_startup_packet::{closure#0} 0
>>::read_startup_packet 0
>>::read_startup_packet::{closure#0} 0
>>::read_startup_packet 2
>>::read_startup_packet::{closure#0} 2
>>::read_startup_packet 28
>>::read_startup_packet::{closure#0} 28
>>>::read_startup_packet 56
>>>::read_startup_packet::{closure#0} 56
>>>::read_startup_packet 115
>>>::read_startup_packet::{closure#0} 115
<proxy::stream::Stream<_> as tokio::io::async_write::AsyncWrite>::poll_flush 420
as tokio::io::async_write::AsyncWrite>::poll_flush 0
as tokio::io::async_write::AsyncWrite>::poll_flush 0
as tokio::io::async_write::AsyncWrite>::poll_flush 3
as tokio::io::async_write::AsyncWrite>::poll_flush 46
> as tokio::io::async_write::AsyncWrite>::poll_flush 96
> as tokio::io::async_write::AsyncWrite>::poll_flush 275
<proxy::stream::Stream<_> as tokio::io::async_write::AsyncWrite>::poll_write 420
as tokio::io::async_write::AsyncWrite>::poll_write 0
as tokio::io::async_write::AsyncWrite>::poll_write 0
as tokio::io::async_write::AsyncWrite>::poll_write 3
as tokio::io::async_write::AsyncWrite>::poll_write 46
> as tokio::io::async_write::AsyncWrite>::poll_write 96
> as tokio::io::async_write::AsyncWrite>::poll_write 275
<proxy::stream::PqStream<_>>::flush 692
>::flush 0
>::flush::{closure#0} 0
>>::flush 0
>>::flush::{closure#0} 0
>>::flush 1
>>::flush::{closure#0} 1
>>::flush 14
>>::flush::{closure#0} 14
>>>::flush 96
>>>::flush::{closure#0} 96
>>>::flush 235
>>>::flush::{closure#0} 235
<proxy::stream::PqStream<_>>::write_message 692
>::write_message 0
>::write_message::{closure#0} 0
>>::write_message 0
>>::write_message::{closure#0} 0
>>::write_message 1
>>::write_message::{closure#0} 1
>>::write_message 14
>>::write_message::{closure#0} 14
>>>::write_message 96
>>>::write_message::{closure#0} 96
>>>::write_message 235
>>>::write_message::{closure#0} 235
<proxy::stream::Stream<_> as tokio::io::async_read::AsyncRead>::poll_read 821
as tokio::io::async_read::AsyncRead>::poll_read 0
as tokio::io::async_read::AsyncRead>::poll_read 0
as tokio::io::async_read::AsyncRead>::poll_read 10
as tokio::io::async_read::AsyncRead>::poll_read 129
> as tokio::io::async_read::AsyncRead>::poll_read 158
> as tokio::io::async_read::AsyncRead>::poll_read 524
<proxy::stream::PqStream<_>>::write_message_noflush 995
>::write_message_noflush 0
>>::write_message_noflush 0
>>::write_message_noflush 1
>>::write_message_noflush 14
>>>::write_message_noflush 124
>>>::write_message_noflush 856

Generated by: LCOV version 2.1-beta