LCOV - code coverage report
Current view:
top level
-
proxy/src/serverless
- conn_pool.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
322b88762cba8ea666f63cda880cccab6936bf37.info
Lines:
61.3 %
563
345
Test Date:
2024-02-29 11:57:12
Functions:
21.3 %
136
29
Function Name
Hit count
<proxy::serverless::conn_pool::Client<_> as core::ops::deref::Deref>::deref
0
as core::ops::deref::Deref>::deref
0
as core::ops::deref::Deref>::deref
0
<proxy::serverless::conn_pool::Client<_>>::check_idle
0
>::check_idle
0
>::check_idle
0
<proxy::serverless::conn_pool::Client<_>>::metrics
0
>::metrics
0
>::metrics
0
<proxy::serverless::conn_pool::ConnInfo as core::fmt::Display>::fmt
0
<proxy::serverless::conn_pool::DbUserConnPool<_>>::get_conn_entry
0
>::get_conn_entry
0
>::get_conn_entry
0
<proxy::serverless::conn_pool::Discard<_>>::check_idle
0
>::check_idle
0
>::check_idle
0
<proxy::serverless::conn_pool::Discard<_>>::check_idle::{closure#0}
0
>::check_idle::{closure#0}
0
>::check_idle::{closure#0}
0
<proxy::serverless::conn_pool::Discard<_>>::discard::{closure#0}
0
>::discard::{closure#0}
0
>::discard::{closure#0}
0
>::discard::{closure#0}
0
<proxy::serverless::conn_pool::EndpointConnPool<_>>::get_conn_entry
0
>::get_conn_entry
0
>::get_conn_entry
0
<proxy::serverless::conn_pool::EndpointConnPool<_>>::get_conn_entry::{closure#0}
0
>::get_conn_entry::{closure#0}
0
>::get_conn_entry::{closure#0}
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put::{closure#0}
0
>::put::{closure#0}
0
>::put::{closure#0}
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put::{closure#1}
0
>::put::{closure#1}
0
>::put::{closure#1}
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put::{closure#2}
0
>::put::{closure#2}
0
>::put::{closure#2}
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put::{closure#3}
0
>::put::{closure#3}
0
>::put::{closure#3}
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::remove_client
0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::remove_client::{closure#0}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#0}::{closure#1}
0
>::gc::{closure#0}::{closure#1}
0
>::gc::{closure#0}::{closure#1}
0
>::gc::{closure#0}::{closure#1}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#1}
0
>::gc::{closure#1}
0
>::gc::{closure#1}
0
>::gc::{closure#1}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#2}
0
>::gc::{closure#2}
0
>::gc::{closure#2}
0
>::gc::{closure#2}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#3}
0
>::gc::{closure#3}
0
>::gc::{closure#3}
0
>::gc::{closure#3}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc_worker::<_>
0
>::gc_worker::<_>
0
>::gc_worker::<_>::{closure#0}
0
>::gc_worker::
0
>::gc_worker::
::{closure#0}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::get
0
>::get
0
>::get
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::get::{closure#0}
0
>::get::{closure#0}
0
>::get::{closure#0}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::get::{closure#0}::{closure#0}
0
>::get::{closure#0}::{closure#0}
0
>::get::{closure#0}::{closure#0}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::get::{closure#0}::{closure#1}
0
>::get::{closure#0}::{closure#1}
0
>::get::{closure#0}::{closure#1}
0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::shutdown
0
>::shutdown
0
>::shutdown
0
<proxy::serverless::conn_pool::GlobalConnPool<tokio_postgres::client::Client>>::get_idle_timeout
0
<proxy::serverless::conn_pool::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool::{closure#1}
0
>::get_or_create_endpoint_pool::{closure#1}
0
>::get_or_create_endpoint_pool::{closure#1}
0
<proxy::serverless::conn_pool::GlobalConnPoolOptions as core::fmt::Debug>::fmt
0
::clone
0
::fmt
0
<proxy::serverless::conn_pool::tests::MockClient as proxy::serverless::conn_pool::ClientInnerExt>::get_process_id
0
<tokio_postgres::client::Client as proxy::serverless::conn_pool::ClientInnerExt>::get_process_id
0
<tokio_postgres::client::Client as proxy::serverless::conn_pool::ClientInnerExt>::is_closed
0
proxy::serverless::conn_pool::poll_client::<_>::{closure#1}::{closure#0}::{closure#5}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#0}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#0}::{closure#0}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#0}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#1}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#2}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#3}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#4}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#6}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#7}
0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0}::{closure#8}
0
<proxy::serverless::conn_pool::Client<_>>::discard
2
>::discard
0
>::discard
0
>::discard
2
<proxy::serverless::conn_pool::Client<_>>::inner
2
>::inner
0
>::inner
0
>::inner
2
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
2
as core::ops::drop::Drop>::drop
0
as core::ops::drop::Drop>::drop
2
<proxy::serverless::conn_pool::DbUserConnPool<_>>::clear_closed_clients
2
>::clear_closed_clients
0
>::clear_closed_clients
0
>::clear_closed_clients
2
<proxy::serverless::conn_pool::Discard<_>>::discard
2
>::discard
0
>::discard
0
>::discard
2
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#0}::{closure#0}
2
>::gc::{closure#0}::{closure#0}
0
>::gc::{closure#0}::{closure#0}
0
>::gc::{closure#0}::{closure#0}
2
<proxy::serverless::conn_pool::GlobalConnPool<_>>::new
2
>::new
0
>::new
0
>::new
2
proxy::serverless::conn_pool::tests::test_pool
2
<proxy::serverless::conn_pool::ConnInfo>::endpoint_cache_key
4
<proxy::serverless::conn_pool::DbUserConnPool<_>>::clear_closed_clients::{closure#0}
4
>::clear_closed_clients::{closure#0}
0
>::clear_closed_clients::{closure#0}
0
>::clear_closed_clients::{closure#0}
4
<proxy::serverless::conn_pool::DbUserConnPool<tokio_postgres::client::Client> as core::default::Default>::default
4
as core::default::Default>::default
0
as core::default::Default>::default
4
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
4
as core::ops::drop::Drop>::drop
0
as core::ops::drop::Drop>::drop
4
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc
4
>::gc
0
>::gc
0
>::gc
4
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#0}
4
>::gc::{closure#0}
0
>::gc::{closure#0}
0
>::gc::{closure#0}
4
<proxy::serverless::conn_pool::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool
4
>::get_or_create_endpoint_pool
0
>::get_or_create_endpoint_pool
4
<proxy::serverless::conn_pool::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool::{closure#0}
4
>::get_or_create_endpoint_pool::{closure#0}
0
>::get_or_create_endpoint_pool::{closure#0}
4
proxy::serverless::conn_pool::tests::test_pool::{closure#0}
4
<proxy::serverless::conn_pool::ConnInfo>::db_and_user
6
proxy::serverless::conn_pool::tests::create_inner
10
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::do_drop::{closure#0}
12
>::do_drop::{closure#0}
0
>::do_drop::{closure#0}
12
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put
12
>::put
0
>::put
12
<proxy::serverless::conn_pool::tests::MockClient>::new
12
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::do_drop
14
>::do_drop
0
>::do_drop
14
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::new
14
>::new
0
>::new
14
proxy::serverless::conn_pool::tests::create_inner_with
14
<proxy::serverless::conn_pool::ClientInner<tokio_postgres::client::Client>>::is_closed
16
>::is_closed
0
>::is_closed
16
<proxy::serverless::conn_pool::tests::MockClient as proxy::serverless::conn_pool::ClientInnerExt>::is_closed
16
<proxy::serverless::conn_pool::GlobalConnPool<proxy::serverless::conn_pool::tests::MockClient>>::get_global_connections_count
18
<proxy::serverless::conn_pool::ConnInfo as core::fmt::Debug>::fmt
26
::fmt
0
::clone
26
Generated by:
LCOV version 2.1-beta