LCOV - code coverage report
Current view: top level - libs/postgres_backend/src - lib.rs (source / functions) Coverage Total Hit
Test: 6fa910d1c9aea142e54ede6987809ef55544c500.info Lines: 35.5 % 569 202
Test Date: 2024-11-19 23:07:42 Functions: 16.0 % 219 35

Function Name Sort by function name Hit count Sort by function hit count
<<postgres_backend::AuthType as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::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_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_enum::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<_ as postgres_backend::Handler<_>>::check_auth_jwt 0
<_ as postgres_backend::Handler<_>>::check_auth_jwt 0
>::check_auth_jwt 0
>::check_auth_jwt 0
<postgres_backend::AuthType as core::fmt::Display>::fmt 0
<postgres_backend::AuthType as core::str::traits::FromStr>::from_str 0
<postgres_backend::CopyDataWriter<_> 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 0
<postgres_backend::CopyDataWriter<_> 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 0
<postgres_backend::CopyDataWriter<_> 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 0
<postgres_backend::CopyDataWriter<_> as tokio::io::async_write::AsyncWrite>::poll_write::{closure#0} 0
as tokio::io::async_write::AsyncWrite>::poll_write::{closure#0} 0
>> as tokio::io::async_write::AsyncWrite>::poll_write::{closure#0} 0
<postgres_backend::CopyStreamHandlerEnd as core::fmt::Display>::fmt 0
>::from 0
>::from 0
::source 0
::fmt 0
<postgres_backend::MaybeTlsStream<_> 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 0
as tokio::io::async_write::AsyncWrite>::poll_shutdown 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> as tokio::io::async_write::AsyncWrite>::poll_shutdown 0
<postgres_backend::MaybeWriteOnly<_>>::shutdown 0
>::shutdown 0
>::shutdown::{closure#0} 0
>>>::shutdown 0
>>>::shutdown::{closure#0} 0
>::shutdown 0
>::shutdown::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::shutdown 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::shutdown::{closure#0} 0
<postgres_backend::PostgresBackend<_>>::copyout_writer 0
>::copyout_writer 0
>>>::copyout_writer 0
<postgres_backend::PostgresBackend<_>>::get_peer_addr 0
>::get_peer_addr 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::get_peer_addr 0
<postgres_backend::PostgresBackend<_>>::handle_copy_stream_end 0
>::handle_copy_stream_end 0
>::handle_copy_stream_end::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_copy_stream_end 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_copy_stream_end::{closure#0} 0
<postgres_backend::PostgresBackend<_>>::new_from_io 0
>::new_from_io 0
>>>::new_from_io 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::new_from_io 0
<postgres_backend::PostgresBackend<_>>::poll_flush 0
>::poll_flush 0
>>>::poll_flush 0
<postgres_backend::PostgresBackend<_>>::split 0
>::split 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::split 0
<postgres_backend::PostgresBackend<_>>::unsplit 0
>::unsplit 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::unsplit 0
<postgres_backend::PostgresBackendReader<_>>::read_copy_message 0
>::read_copy_message 0
>::read_copy_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_copy_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_copy_message::{closure#0} 0
<postgres_backend::PostgresBackendReader<_>>::read_message 0
>::read_message 0
>::read_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message::{closure#0} 0
<postgres_backend::QueryError as core::convert::From<std::io::error::Error>>::from 0
<postgres_backend::QueryError as core::fmt::Display>::fmt 0
>::from 0
>::from 0
::source 0
::fmt 0
<postgres_backend::QueryError>::pg_error_code 0
postgres_backend::cstr_to_str::{closure#0} 0
postgres_backend::is_expected_io_error 0
postgres_backend::log_query_error 0
postgres_backend::short_error 0
<postgres_backend::PostgresBackend<_>>::start_tls::{closure#0}::{closure#0} 1
>::start_tls::{closure#0}::{closure#0} 0
>>>::start_tls::{closure#0}::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::start_tls::{closure#0}::{closure#0} 0
>::start_tls::{closure#0}::{closure#0} 1
<postgres_backend::PostgresBackend<_>>::tls_upgrade 1
>::tls_upgrade 0
>>>::tls_upgrade 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::tls_upgrade 0
>::tls_upgrade 1
<postgres_backend::PostgresBackend<_>>::tls_upgrade::{closure#0} 1
>::tls_upgrade::{closure#0} 0
>>>::tls_upgrade::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::tls_upgrade::{closure#0} 0
>::tls_upgrade::{closure#0} 1
<_ as postgres_backend::Handler<_>>::startup 2
<_ as postgres_backend::Handler<_>>::startup 0
>::startup 0
>::startup 2
<postgres_backend::PostgresBackend<_>>::process_message::<_> 2
>::process_message::<_> 0
>>>::process_message:: 0
>::process_message:: 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::process_message:: 0
>::process_message:: 2
<postgres_backend::PostgresBackend<_>>::process_message::<_>::{closure#0} 2
>::process_message::<_>::{closure#0} 0
>>>::process_message::::{closure#0} 0
>::process_message::::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::process_message::::{closure#0} 0
>::process_message::::{closure#0} 2
<postgres_backend::PostgresBackend<_>>::run::<_> 2
>::run::<_> 0
>>>::run:: 0
>::run:: 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run:: 0
>::run:: 2
<postgres_backend::PostgresBackend<_>>::run::<_>::{closure#0} 2
>::run::<_>::{closure#0} 0
>>>::run::::{closure#0} 0
>::run::::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::::{closure#0} 0
>::run::::{closure#0} 2
<postgres_backend::PostgresBackend<_>>::run_message_loop::<_> 2
>::run_message_loop::<_> 0
>>>::run_message_loop:: 0
>::run_message_loop:: 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run_message_loop:: 0
>::run_message_loop:: 2
<postgres_backend::PostgresBackend<_>>::run_message_loop::<_>::{closure#0} 2
>::run_message_loop::<_>::{closure#0} 0
>>>::run_message_loop::::{closure#0} 0
>::run_message_loop::::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run_message_loop::::{closure#0} 0
>::run_message_loop::::{closure#0} 2
<postgres_backend::PostgresBackend<_>>::start_tls 2
>::start_tls 0
>::start_tls::{closure#0} 0
>>>::start_tls 0
>>>::start_tls::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::start_tls 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::start_tls::{closure#0} 0
>::start_tls 1
>::start_tls::{closure#0} 1
<postgres_backend::PostgresBackend<tokio::net::tcp::stream::TcpStream>>::new 2
postgres_backend::cstr_to_str 2
<postgres_backend::PostgresBackend<_>>::process_startup_message::<_> 3
>::process_startup_message::<_> 0
>>>::process_startup_message:: 0
>::process_startup_message:: 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::process_startup_message:: 0
>::process_startup_message:: 3
<postgres_backend::PostgresBackend<_>>::process_startup_message::<_>::{closure#0} 3
>::process_startup_message::<_>::{closure#0} 0
>>>::process_startup_message::::{closure#0} 0
>::process_startup_message::::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::process_startup_message::::{closure#0} 0
>::process_startup_message::::{closure#0} 3
<postgres_backend::PostgresBackend<_>>::write_message 3
>::write_message 0
>>>::write_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::write_message 0
>::write_message 3
<postgres_backend::PostgresBackend<_>>::write_message::{closure#0} 3
>::write_message::{closure#0} 0
>>>::write_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::write_message::{closure#0} 0
>::write_message::{closure#0} 3
<postgres_backend::PostgresBackend<_>>::handshake::<_> 4
>::handshake::<_> 0
>::handshake::<_>::{closure#0} 0
>>>::handshake:: 0
>>>::handshake::::{closure#0} 0
>::handshake:: 0
>::handshake::::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handshake:: 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handshake::::{closure#0} 0
>::handshake:: 2
>::handshake::::{closure#0} 2
<postgres_backend::MaybeTlsStream<_> as tokio::io::async_write::AsyncWrite>::poll_flush 5
as tokio::io::async_write::AsyncWrite>::poll_flush 0
>> as tokio::io::async_write::AsyncWrite>::poll_flush 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> as tokio::io::async_write::AsyncWrite>::poll_flush 0
as tokio::io::async_write::AsyncWrite>::poll_flush 5
<postgres_backend::MaybeTlsStream<_> as tokio::io::async_write::AsyncWrite>::poll_write 5
as tokio::io::async_write::AsyncWrite>::poll_write 0
>> as tokio::io::async_write::AsyncWrite>::poll_write 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> as tokio::io::async_write::AsyncWrite>::poll_write 0
as tokio::io::async_write::AsyncWrite>::poll_write 5
<postgres_backend::MaybeWriteOnly<_>>::read_startup_message 6
>::read_startup_message 0
>::read_startup_message::{closure#0} 0
>>>::read_startup_message 0
>>>::read_startup_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_startup_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_startup_message::{closure#0} 0
>::read_startup_message 3
>::read_startup_message::{closure#0} 3
<postgres_backend::MaybeWriteOnly<_>>::read_message 8
>::read_message 0
>::read_message::{closure#0} 0
>>>::read_message 0
>>>::read_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message::{closure#0} 0
>::read_message 4
>::read_message::{closure#0} 4
<postgres_backend::PostgresBackend<_>>::read_message 8
>::read_message 0
>::read_message::{closure#0} 0
>>>::read_message 0
>>>::read_message::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::read_message::{closure#0} 0
>::read_message 4
>::read_message::{closure#0} 4
<postgres_backend::MaybeWriteOnly<_>>::flush 10
>::flush 0
>::flush::{closure#0} 0
>>>::flush 0
>>>::flush::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::flush 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::flush::{closure#0} 0
>::flush 5
>::flush::{closure#0} 5
<postgres_backend::PostgresBackend<_>>::flush 10
>::flush 0
>::flush::{closure#0} 0
>>>::flush 0
>>>::flush::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::flush 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::flush::{closure#0} 0
>::flush 5
>::flush::{closure#0} 5
<postgres_backend::MaybeTlsStream<_> as tokio::io::async_read::AsyncRead>::poll_read 12
as tokio::io::async_read::AsyncRead>::poll_read 0
>> as tokio::io::async_read::AsyncRead>::poll_read 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> as tokio::io::async_read::AsyncRead>::poll_read 0
as tokio::io::async_read::AsyncRead>::poll_read 12
<postgres_backend::MaybeWriteOnly<_>>::write_message_noflush 19
>::write_message_noflush 0
>>>::write_message_noflush 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::write_message_noflush 0
>::write_message_noflush 19
<postgres_backend::PostgresBackend<_>>::write_message_noflush 19
>::write_message_noflush 0
>>>::write_message_noflush 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::write_message_noflush 0
>::write_message_noflush 19

Generated by: LCOV version 2.1-beta