/rust/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/fns.rs
Line | Count | Source (jump to first uncovered line) |
1 | | use core::fmt::{self, Debug}; |
2 | | use core::marker::PhantomData; |
3 | | |
4 | | pub trait FnOnce1<A> { |
5 | | type Output; |
6 | | fn call_once(self, arg: A) -> Self::Output; |
7 | | } |
8 | | |
9 | | impl<T, A, R> FnOnce1<A> for T |
10 | | where |
11 | | T: FnOnce(A) -> R, |
12 | | { |
13 | | type Output = R; |
14 | 3.76M | fn call_once(self, arg: A) -> R { |
15 | 3.76M | self(arg) |
16 | 3.76M | } Unexecuted instantiation: <_ as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from as futures_util::fns::FnOnce1<std::io::error::Error>>::call_once Unexecuted instantiation: <<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0} as futures_util::fns::FnOnce1<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>>::call_once Unexecuted instantiation: <<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::connect_with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>, std::io::error::Error>>>::call_once <hickory_resolver::name_server::name_server_pool::parallel_conn_loop<hickory_resolver::name_server::connection_provider::GenericConnector<hickory_resolver::name_server::connection_provider::tokio_runtime::TokioRuntimeProvider>>::{closure#0}::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::xfer::dns_response::DnsResponse, hickory_resolver::error::ResolveError>>>::call_once Line | Count | Source | 14 | 15.8k | fn call_once(self, arg: A) -> R { | 15 | 15.8k | self(arg) | 16 | 15.8k | } |
Unexecuted instantiation: <_ as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<linkerd_app_inbound::http::router::Http>>::call::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::server::ServerRescue>, linkerd_stack::monitor::Monitor<linkerd_app_inbound::metrics::error::http::MonitorHttpErrorMetrics, linkerd_stack::map_err::MapErr<(), linkerd_stack::map_err::MapErr<linkerd_stack::map_err::WrapFromTarget<linkerd_app_inbound::http::fuzz::Target, linkerd_app_inbound::http::server::ServerError>, linkerd_stack::loadshed::LoadShed<tower::limit::concurrency::service::ConcurrencyLimit<linkerd_proxy_http::orig_proto::Downgrade<linkerd_app_inbound::http::set_identity_header::SetIdentityHeader<linkerd_proxy_http::normalize_uri::NormalizeUri<linkerd_stack::box_service::BoxCloneSyncService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>>>>>>>>>>>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0} as futures_util::fns::FnOnce1<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>>>::call_once Unexecuted instantiation: <<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_http_metrics::requests::service::HttpMetrics<linkerd_proxy_tap::service::TapHttp<linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::router::ClientRescue>, linkerd_reconnect::Reconnect<linkerd_app_inbound::http::router::Http, linkerd_app_core::svc::AlwaysReconnect, linkerd_stack::new_service::FromMakeService<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::layer::{closure#0}>, linkerd_proxy_http::client::MakeClient<(), linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>>>, linkerd_app_inbound::http::router::Logical, linkerd_proxy_tap::grpc::server::Tap>, linkerd_app_core::classify::Response>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0} as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>>>::call_once Unexecuted instantiation: <<linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<http::response::Response<hyper::body::body::Body>>>::call_once <fn(http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody> as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>>>::call_once Line | Count | Source | 14 | 538k | fn call_once(self, arg: A) -> R { | 15 | 538k | self(arg) | 16 | 538k | } |
<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody> as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>>>::call_once Line | Count | Source | 14 | 538k | fn call_once(self, arg: A) -> R { | 15 | 538k | self(arg) | 16 | 538k | } |
Unexecuted instantiation: <fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody> as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>>>::call_once <fn(http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody> as futures_util::fns::FnOnce1<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>>>::call_once Line | Count | Source | 14 | 540k | fn call_once(self, arg: A) -> R { | 15 | 540k | self(arg) | 16 | 540k | } |
<fn(http::response::Response<linkerd_http_box::body::BoxBody>) -> http::response::Response<linkerd_http_box::body::BoxBody> as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_box::body::BoxBody>>>::call_once Line | Count | Source | 14 | 538k | fn call_once(self, arg: A) -> R { | 15 | 538k | self(arg) | 16 | 538k | } |
Unexecuted instantiation: <fn(core::option::Option<linkerd_service_profiles::Receiver>) -> linkerd_stack::map_err::MapErr<(), linkerd_stack::thunk::ThunkClone<core::option::Option<linkerd_service_profiles::Receiver>>> as futures_util::fns::FnOnce1<core::option::Option<linkerd_service_profiles::Receiver>>>::call_once Unexecuted instantiation: <fn(linkerd_app_inbound::http::router::LogicalError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as futures_util::fns::FnOnce1<linkerd_app_inbound::http::router::LogicalError>>::call_once Unexecuted instantiation: <linkerd_proxy_http::orig_proto::downgrade_h2_error<hyper::error::Error> as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0} as futures_util::fns::FnOnce1<http::response::Response<linkerd_http_box::body::BoxBody>>>::call_once Unexecuted instantiation: <<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#1} as futures_util::fns::FnOnce1<http::response::Response<hyper::body::body::Body>>>::call_once <<linkerd_proxy_http::h1::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::request::{closure#1} as futures_util::fns::FnOnce1<http::response::Response<hyper::body::body::Body>>>::call_once Line | Count | Source | 14 | 538k | fn call_once(self, arg: A) -> R { | 15 | 538k | self(arg) | 16 | 538k | } |
Unexecuted instantiation: <<hyper::error::Error>::new_connect<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::call_once <<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Line | Count | Source | 14 | 9 | fn call_once(self, arg: A) -> R { | 15 | 9 | self(arg) | 16 | 9 | } |
<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}::{closure#0}::{closure#1} as futures_util::fns::FnOnce1<core::result::Result<(), ()>>>::call_once Line | Count | Source | 14 | 248k | fn call_once(self, arg: A) -> R { | 15 | 248k | self(arg) | 16 | 248k | } |
<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>>>::call_once Line | Count | Source | 14 | 262k | fn call_once(self, arg: A) -> R { | 15 | 262k | self(arg) | 16 | 262k | } |
Unexecuted instantiation: <<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::send_request::{closure#0}::{closure#3} as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::send_request::{closure#0}::{closure#5} as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connection_for::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connection_for::{closure#0}::{closure#1} as futures_util::fns::FnOnce1<core::result::Result<hyper::client::pool::Pooled<hyper::client::client::PoolClient<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>, ()>>>::call_once Unexecuted instantiation: <<hyper::client::conn::Http2SendRequest<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::send_request_retryable::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<core::result::Result<http::response::Response<hyper::body::body::Body>, (hyper::error::Error, core::option::Option<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>)>, tokio::sync::oneshot::error::RecvError>>>::call_once <<hyper::client::conn::SendRequest<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::send_request_retryable::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<core::result::Result<http::response::Response<hyper::body::body::Body>, (hyper::error::Error, core::option::Option<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>)>, tokio::sync::oneshot::error::RecvError>>>::call_once Line | Count | Source | 14 | 538k | fn call_once(self, arg: A) -> R { | 15 | 538k | self(arg) | 16 | 538k | } |
Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<(core::option::Option<core::convert::Infallible>, futures_channel::mpsc::Receiver<core::convert::Infallible>)>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2} as futures_util::fns::FnOnce1<h2::error::Error>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<(core::option::Option<core::convert::Infallible>, futures_channel::mpsc::Receiver<core::convert::Infallible>)>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2} as futures_util::fns::FnOnce1<h2::error::Error>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::poll_pipe::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::poll_pipe::{closure#2} as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<h2::share::RecvStream>, h2::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::poll_pipe::{closure#1} as futures_util::fns::FnOnce1<()>>::call_once Unexecuted instantiation: <<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into as futures_util::fns::FnOnce1<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::call_once <fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as futures_util::fns::FnOnce1<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::call_once Line | Count | Source | 14 | 1.03k | fn call_once(self, arg: A) -> R { | 15 | 1.03k | self(arg) | 16 | 1.03k | } |
Unexecuted instantiation: <fn(linkerd_app_core::control::EndpointError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as futures_util::fns::FnOnce1<linkerd_app_core::control::EndpointError>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<(core::option::Option<core::convert::Infallible>, futures_channel::mpsc::Receiver<core::convert::Infallible>)>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>::{closure#0}::{closure#2} as futures_util::fns::FnOnce1<h2::error::Error>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>::poll_pipe::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>::poll_pipe::{closure#2} as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<h2::share::RecvStream>, h2::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>::poll_pipe::{closure#1} as futures_util::fns::FnOnce1<()>>::call_once Unexecuted instantiation: <<linkerd_meshtls_rustls::client::Connect as tower_service::Service<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>::call::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<tokio_rustls::client::TlsStream<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once Unexecuted instantiation: <<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>> as tower_service::Service<linkerd_app_core::control::client::Target>>::call::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0} as futures_util::fns::FnOnce1<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>>::call_once Unexecuted instantiation: <hickory_resolver::name_server::name_server_pool::parallel_conn_loop<hickory_resolver::name_server::connection_provider::GenericConnector<hickory_resolver::name_server::connection_provider::tokio_runtime::TokioRuntimeProvider>>::{closure#0}::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::xfer::dns_response::DnsResponse, hickory_resolver::error::ResolveError>>>::call_once Unexecuted instantiation: <<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::connect_with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>, std::io::error::Error>>>::call_once Unexecuted instantiation: <<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from as futures_util::fns::FnOnce1<std::io::error::Error>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<core::pin::Pin<alloc::boxed::Box<hyper_timeout::stream::TimeoutConnectorStream<tonic::transport::service::io::BoxedIo>>>, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<(core::option::Option<core::convert::Infallible>, futures_channel::mpsc::Receiver<core::convert::Infallible>)>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<core::pin::Pin<alloc::boxed::Box<hyper_timeout::stream::TimeoutConnectorStream<tonic::transport::service::io::BoxedIo>>>, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2} as futures_util::fns::FnOnce1<h2::error::Error>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<tonic::transport::service::io::BoxedIo, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#0} as futures_util::fns::FnOnce1<(core::option::Option<core::convert::Infallible>, futures_channel::mpsc::Receiver<core::convert::Infallible>)>>::call_once Unexecuted instantiation: <hyper::proto::h2::client::handshake<tonic::transport::service::io::BoxedIo, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2} as futures_util::fns::FnOnce1<h2::error::Error>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>>::poll_pipe::{closure#0} as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>>::poll_pipe::{closure#2} as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<h2::share::RecvStream>, h2::error::Error>>>::call_once Unexecuted instantiation: <<hyper::proto::h2::client::ClientTask<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>>::poll_pipe::{closure#1} as futures_util::fns::FnOnce1<()>>::call_once Unexecuted instantiation: <<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>> as axum_core::response::into_response::IntoResponse>::into_response as futures_util::fns::FnOnce1<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>>>>::call_once Unexecuted instantiation: <_ as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1} as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once |
17 | | } |
18 | | |
19 | | pub trait FnMut1<A>: FnOnce1<A> { |
20 | | fn call_mut(&mut self, arg: A) -> Self::Output; |
21 | | } |
22 | | |
23 | | impl<T, A, R> FnMut1<A> for T |
24 | | where |
25 | | T: FnMut(A) -> R, |
26 | | { |
27 | 0 | fn call_mut(&mut self, arg: A) -> R { |
28 | 0 | self(arg) |
29 | 0 | } Unexecuted instantiation: <_ as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <_ as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <_ as futures_util::fns::FnMut1<_>>::call_mut |
30 | | } |
31 | | |
32 | | // Not used, but present for completeness |
33 | | #[allow(unreachable_pub)] |
34 | | pub trait Fn1<A>: FnMut1<A> { |
35 | | fn call(&self, arg: A) -> Self::Output; |
36 | | } |
37 | | |
38 | | impl<T, A, R> Fn1<A> for T |
39 | | where |
40 | | T: Fn(A) -> R, |
41 | | { |
42 | 0 | fn call(&self, arg: A) -> R { |
43 | 0 | self(arg) |
44 | 0 | } Unexecuted instantiation: <_ as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <_ as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <_ as futures_util::fns::Fn1<_>>::call |
45 | | } |
46 | | |
47 | | macro_rules! trivial_fn_impls { |
48 | | ($name:ident <$($arg:ident),*> $t:ty = $debug:literal) => { |
49 | | impl<$($arg),*> Copy for $t {} |
50 | | impl<$($arg),*> Clone for $t { |
51 | 0 | fn clone(&self) -> Self { *self } Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::clone::Clone>::clone Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::clone::Clone>::clone |
52 | | } |
53 | | impl<$($arg),*> Debug for $t { |
54 | 0 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
55 | 0 | f.write_str($debug) |
56 | 0 | } Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::MergeResultFn as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::fmt::Debug>::fmt Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::fmt::Debug>::fmt |
57 | | } |
58 | | impl<$($arg,)* A> FnMut1<A> for $t where Self: FnOnce1<A> { |
59 | 0 | fn call_mut(&mut self, arg: A) -> Self::Output { |
60 | 0 | self.call_once(arg) |
61 | 0 | } Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnMut1<_>>::call_mut |
62 | | } |
63 | | impl<$($arg,)* A> Fn1<A> for $t where Self: FnOnce1<A> { |
64 | 0 | fn call(&self, arg: A) -> Self::Output { |
65 | 0 | self.call_once(arg) |
66 | 0 | } Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::Fn1<_>>::call |
67 | | } |
68 | 2.69M | pub(crate) fn $name<$($arg),*>() -> $t { |
69 | 2.69M | Default::default() |
70 | 2.69M | } Unexecuted instantiation: futures_util::fns::merge_result_fn Unexecuted instantiation: futures_util::fns::ok_fn::<_> Unexecuted instantiation: futures_util::fns::into_fn::<_> Unexecuted instantiation: futures_util::fns::merge_result_fn Unexecuted instantiation: futures_util::fns::ok_fn::<_> Unexecuted instantiation: futures_util::fns::into_fn::<_> futures_util::fns::into_fn::<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> Line | Count | Source | 68 | 2.69M | pub(crate) fn $name<$($arg),*>() -> $t { | 69 | 2.69M | Default::default() | 70 | 2.69M | } |
Unexecuted instantiation: futures_util::fns::merge_result_fn Unexecuted instantiation: futures_util::fns::ok_fn::<_> Unexecuted instantiation: futures_util::fns::into_fn::<_> |
71 | | } |
72 | | } |
73 | | |
74 | | pub struct OkFn<E>(PhantomData<fn(E)>); |
75 | | |
76 | | impl<E> Default for OkFn<E> { |
77 | 0 | fn default() -> Self { |
78 | 0 | Self(PhantomData) |
79 | 0 | } Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::default::Default>::default Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::default::Default>::default Unexecuted instantiation: <futures_util::fns::OkFn<_> as core::default::Default>::default |
80 | | } |
81 | | |
82 | | impl<A, E> FnOnce1<A> for OkFn<E> { |
83 | | type Output = Result<A, E>; |
84 | 0 | fn call_once(self, arg: A) -> Self::Output { |
85 | 0 | Ok(arg) |
86 | 0 | } Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::OkFn<_> as futures_util::fns::FnOnce1<_>>::call_once |
87 | | } |
88 | | |
89 | | trivial_fn_impls!(ok_fn <T> OkFn<T> = "Ok"); |
90 | | |
91 | | #[derive(Debug, Copy, Clone, Default)] |
92 | | pub struct ChainFn<F, G>(F, G); |
93 | | |
94 | | impl<F, G, A> FnOnce1<A> for ChainFn<F, G> |
95 | | where |
96 | | F: FnOnce1<A>, |
97 | | G: FnOnce1<F::Output>, |
98 | | { |
99 | | type Output = G::Output; |
100 | 0 | fn call_once(self, arg: A) -> Self::Output { |
101 | 0 | self.1.call_once(self.0.call_once(arg)) |
102 | 0 | } Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnOnce1<_>>::call_once |
103 | | } |
104 | | impl<F, G, A> FnMut1<A> for ChainFn<F, G> |
105 | | where |
106 | | F: FnMut1<A>, |
107 | | G: FnMut1<F::Output>, |
108 | | { |
109 | 0 | fn call_mut(&mut self, arg: A) -> Self::Output { |
110 | 0 | self.1.call_mut(self.0.call_mut(arg)) |
111 | 0 | } Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::FnMut1<_>>::call_mut |
112 | | } |
113 | | impl<F, G, A> Fn1<A> for ChainFn<F, G> |
114 | | where |
115 | | F: Fn1<A>, |
116 | | G: Fn1<F::Output>, |
117 | | { |
118 | 0 | fn call(&self, arg: A) -> Self::Output { |
119 | 0 | self.1.call(self.0.call(arg)) |
120 | 0 | } Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::ChainFn<_, _> as futures_util::fns::Fn1<_>>::call |
121 | | } |
122 | 0 | pub(crate) fn chain_fn<F, G>(f: F, g: G) -> ChainFn<F, G> { |
123 | 0 | ChainFn(f, g) |
124 | 0 | } Unexecuted instantiation: futures_util::fns::chain_fn::<_, _> Unexecuted instantiation: futures_util::fns::chain_fn::<_, _> Unexecuted instantiation: futures_util::fns::chain_fn::<_, _> |
125 | | |
126 | | #[derive(Default)] |
127 | | pub struct MergeResultFn; |
128 | | |
129 | | impl<T> FnOnce1<Result<T, T>> for MergeResultFn { |
130 | | type Output = T; |
131 | 0 | fn call_once(self, arg: Result<T, T>) -> Self::Output { |
132 | 0 | match arg { |
133 | 0 | Ok(x) => x, |
134 | 0 | Err(x) => x, |
135 | | } |
136 | 0 | } Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::MergeResultFn as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once |
137 | | } |
138 | | trivial_fn_impls!(merge_result_fn <> MergeResultFn = "merge_result"); |
139 | | |
140 | | #[derive(Debug, Copy, Clone, Default)] |
141 | | pub struct InspectFn<F>(F); |
142 | | |
143 | | #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 |
144 | | impl<F, A> FnOnce1<A> for InspectFn<F> |
145 | | where |
146 | | F: for<'a> FnOnce1<&'a A, Output = ()>, |
147 | | { |
148 | | type Output = A; |
149 | 0 | fn call_once(self, arg: A) -> Self::Output { |
150 | 0 | self.0.call_once(&arg); |
151 | 0 | arg |
152 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnOnce1<_>>::call_once |
153 | | } |
154 | | #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 |
155 | | impl<F, A> FnMut1<A> for InspectFn<F> |
156 | | where |
157 | | F: for<'a> FnMut1<&'a A, Output = ()>, |
158 | | { |
159 | 0 | fn call_mut(&mut self, arg: A) -> Self::Output { |
160 | 0 | self.0.call_mut(&arg); |
161 | 0 | arg |
162 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnMut1<_>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::FnMut1<_>>::call_mut |
163 | | } |
164 | | #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 |
165 | | impl<F, A> Fn1<A> for InspectFn<F> |
166 | | where |
167 | | F: for<'a> Fn1<&'a A, Output = ()>, |
168 | | { |
169 | 0 | fn call(&self, arg: A) -> Self::Output { |
170 | 0 | self.0.call(&arg); |
171 | 0 | arg |
172 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::Fn1<_>>::call Unexecuted instantiation: <futures_util::fns::InspectFn<_> as futures_util::fns::Fn1<_>>::call |
173 | | } |
174 | 0 | pub(crate) fn inspect_fn<F>(f: F) -> InspectFn<F> { |
175 | 0 | InspectFn(f) |
176 | 0 | } Unexecuted instantiation: futures_util::fns::inspect_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_fn::<_> |
177 | | |
178 | | #[derive(Debug, Copy, Clone, Default)] |
179 | | pub struct MapOkFn<F>(F); |
180 | | |
181 | | impl<F, T, E> FnOnce1<Result<T, E>> for MapOkFn<F> |
182 | | where |
183 | | F: FnOnce1<T>, |
184 | | { |
185 | | type Output = Result<F::Output, E>; |
186 | 2.95M | fn call_once(self, arg: Result<T, E>) -> Self::Output { |
187 | 2.95M | arg.map(|x| self.0.call_once(x)) Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 187 | 538k | arg.map(|x| self.0.call_once(x)) |
<futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 187 | 538k | arg.map(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 187 | 540k | arg.map(|x| self.0.call_once(x)) |
<futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_box::body::BoxBody>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 187 | 538k | arg.map(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapOkFn<fn(core::option::Option<linkerd_service_profiles::Receiver>) -> linkerd_stack::map_err::MapErr<(), linkerd_stack::thunk::ThunkClone<core::option::Option<linkerd_service_profiles::Receiver>>>> as futures_util::fns::FnOnce1<core::result::Result<core::option::Option<linkerd_service_profiles::Receiver>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} <futures_util::fns::MapOkFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, hyper::error::Error>>>::call_once::{closure#0} Line | Count | Source | 187 | 262k | arg.map(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} <futures_util::fns::MapOkFn<<linkerd_proxy_http::h1::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::request::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 187 | 538k | arg.map(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::server::ServerRescue>, linkerd_stack::monitor::Monitor<linkerd_app_inbound::metrics::error::http::MonitorHttpErrorMetrics, linkerd_stack::map_err::MapErr<(), linkerd_stack::map_err::MapErr<linkerd_stack::map_err::WrapFromTarget<linkerd_app_inbound::http::fuzz::Target, linkerd_app_inbound::http::server::ServerError>, linkerd_stack::loadshed::LoadShed<tower::limit::concurrency::service::ConcurrencyLimit<linkerd_proxy_http::orig_proto::Downgrade<linkerd_app_inbound::http::set_identity_header::SetIdentityHeader<linkerd_proxy_http::normalize_uri::NormalizeUri<linkerd_stack::box_service::BoxCloneSyncService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>>>>>>>>>>>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_http_metrics::requests::service::HttpMetrics<linkerd_proxy_tap::service::TapHttp<linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::router::ClientRescue>, linkerd_reconnect::Reconnect<linkerd_app_inbound::http::router::Http, linkerd_app_core::svc::AlwaysReconnect, linkerd_stack::new_service::FromMakeService<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::layer::{closure#0}>, linkerd_proxy_http::client::MakeClient<(), linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>>>, linkerd_app_inbound::http::router::Logical, linkerd_proxy_tap::grpc::server::Tap>, linkerd_app_core::classify::Response>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>> as axum_core::response::into_response::IntoResponse>::into_response> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>>, core::convert::Infallible>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} |
188 | 2.95M | } Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 186 | 538k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 538k | arg.map(|x| self.0.call_once(x)) | 188 | 538k | } |
<futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 186 | 538k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 538k | arg.map(|x| self.0.call_once(x)) | 188 | 538k | } |
Unexecuted instantiation: <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once <futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 186 | 540k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 540k | arg.map(|x| self.0.call_once(x)) | 188 | 540k | } |
<futures_util::fns::MapOkFn<fn(http::response::Response<linkerd_http_box::body::BoxBody>) -> http::response::Response<linkerd_http_box::body::BoxBody>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 186 | 540k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 540k | arg.map(|x| self.0.call_once(x)) | 188 | 540k | } |
Unexecuted instantiation: <futures_util::fns::MapOkFn<fn(core::option::Option<linkerd_service_profiles::Receiver>) -> linkerd_stack::map_err::MapErr<(), linkerd_stack::thunk::ThunkClone<core::option::Option<linkerd_service_profiles::Receiver>>>> as futures_util::fns::FnOnce1<core::result::Result<core::option::Option<linkerd_service_profiles::Receiver>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once <futures_util::fns::MapOkFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, hyper::error::Error>>>::call_once Line | Count | Source | 186 | 262k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 262k | arg.map(|x| self.0.call_once(x)) | 188 | 262k | } |
Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once <futures_util::fns::MapOkFn<<linkerd_proxy_http::h1::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::request::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 186 | 538k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 187 | 538k | arg.map(|x| self.0.call_once(x)) | 188 | 538k | } |
Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::server::ServerRescue>, linkerd_stack::monitor::Monitor<linkerd_app_inbound::metrics::error::http::MonitorHttpErrorMetrics, linkerd_stack::map_err::MapErr<(), linkerd_stack::map_err::MapErr<linkerd_stack::map_err::WrapFromTarget<linkerd_app_inbound::http::fuzz::Target, linkerd_app_inbound::http::server::ServerError>, linkerd_stack::loadshed::LoadShed<tower::limit::concurrency::service::ConcurrencyLimit<linkerd_proxy_http::orig_proto::Downgrade<linkerd_app_inbound::http::set_identity_header::SetIdentityHeader<linkerd_proxy_http::normalize_uri::NormalizeUri<linkerd_stack::box_service::BoxCloneSyncService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>>>>>>>>>>>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_http_metrics::requests::service::HttpMetrics<linkerd_proxy_tap::service::TapHttp<linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::router::ClientRescue>, linkerd_reconnect::Reconnect<linkerd_app_inbound::http::router::Http, linkerd_app_core::svc::AlwaysReconnect, linkerd_stack::new_service::FromMakeService<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::layer::{closure#0}>, linkerd_proxy_http::client::MakeClient<(), linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>>>, linkerd_app_inbound::http::router::Logical, linkerd_proxy_tap::grpc::server::Tap>, linkerd_app_core::classify::Response>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_stream::TcpStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>> as axum_core::response::into_response::IntoResponse>::into_response> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>>, core::convert::Infallible>>>::call_once Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once |
189 | | } |
190 | | impl<F, T, E> FnMut1<Result<T, E>> for MapOkFn<F> |
191 | | where |
192 | | F: FnMut1<T>, |
193 | | { |
194 | 0 | fn call_mut(&mut self, arg: Result<T, E>) -> Self::Output { |
195 | 0 | arg.map(|x| self.0.call_mut(x)) Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} |
196 | 0 | } Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut |
197 | | } |
198 | | impl<F, T, E> Fn1<Result<T, E>> for MapOkFn<F> |
199 | | where |
200 | | F: Fn1<T>, |
201 | | { |
202 | 0 | fn call(&self, arg: Result<T, E>) -> Self::Output { |
203 | 0 | arg.map(|x| self.0.call(x)) Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} |
204 | 0 | } Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::MapOkFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call |
205 | | } |
206 | 2.95M | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { |
207 | 2.95M | MapOkFn(f) |
208 | 2.95M | } Unexecuted instantiation: futures_util::fns::map_ok_fn::<_> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<_> futures_util::fns::map_ok_fn::<fn(http::response::Response<linkerd_http_retain::RetainBody<linkerd_idle_cache::Cached<linkerd_stack::gate::Gate<tower::buffer::service::Buffer<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, http::request::Request<linkerd_http_box::body::BoxBody>>>>, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> Line | Count | Source | 206 | 538k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 538k | MapOkFn(f) | 208 | 538k | } |
futures_util::fns::map_ok_fn::<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_proxy_tap::service::Body<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::router::ClientRescue, linkerd_http_box::body::BoxBody>, linkerd_proxy_tap::grpc::server::TapResponsePayload>, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> Line | Count | Source | 206 | 538k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 538k | MapOkFn(f) | 208 | 538k | } |
Unexecuted instantiation: futures_util::fns::map_ok_fn::<fn(http::response::Response<linkerd_http_metrics::requests::service::ResponseBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Eos>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> futures_util::fns::map_ok_fn::<fn(http::response::Response<linkerd_app_core::errors::respond::ResponseBody<linkerd_app_inbound::http::server::ServerRescue, linkerd_http_box::body::BoxBody>>) -> http::response::Response<linkerd_http_box::body::BoxBody>> Line | Count | Source | 206 | 540k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 540k | MapOkFn(f) | 208 | 540k | } |
futures_util::fns::map_ok_fn::<fn(http::response::Response<linkerd_http_box::body::BoxBody>) -> http::response::Response<linkerd_http_box::body::BoxBody>> Line | Count | Source | 206 | 540k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 540k | MapOkFn(f) | 208 | 540k | } |
Unexecuted instantiation: futures_util::fns::map_ok_fn::<fn(core::option::Option<linkerd_service_profiles::Receiver>) -> linkerd_stack::map_err::MapErr<(), linkerd_stack::thunk::ThunkClone<core::option::Option<linkerd_service_profiles::Receiver>>>> futures_util::fns::map_ok_fn::<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}> Line | Count | Source | 206 | 262k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 262k | MapOkFn(f) | 208 | 262k | } |
Unexecuted instantiation: futures_util::fns::map_ok_fn::<<linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}::{closure#0}> futures_util::fns::map_ok_fn::<<linkerd_proxy_http::h1::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::request::{closure#1}> Line | Count | Source | 206 | 538k | pub(crate) fn map_ok_fn<F>(f: F) -> MapOkFn<F> { | 207 | 538k | MapOkFn(f) | 208 | 538k | } |
Unexecuted instantiation: futures_util::fns::map_ok_fn::<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::server::ServerRescue>, linkerd_stack::monitor::Monitor<linkerd_app_inbound::metrics::error::http::MonitorHttpErrorMetrics, linkerd_stack::map_err::MapErr<(), linkerd_stack::map_err::MapErr<linkerd_stack::map_err::WrapFromTarget<linkerd_app_inbound::http::fuzz::Target, linkerd_app_inbound::http::server::ServerError>, linkerd_stack::loadshed::LoadShed<tower::limit::concurrency::service::ConcurrencyLimit<linkerd_proxy_http::orig_proto::Downgrade<linkerd_app_inbound::http::set_identity_header::SetIdentityHeader<linkerd_proxy_http::normalize_uri::NormalizeUri<linkerd_stack::box_service::BoxCloneSyncService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>>>>>>>>>>>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<linkerd_trace_context::service::TraceContext<core::option::Option<linkerd_app_core::http_tracing::SpanConverter>, linkerd_http_metrics::requests::service::HttpMetrics<linkerd_proxy_tap::service::TapHttp<linkerd_error_respond::RespondService<linkerd_app_core::errors::respond::NewRespond<linkerd_app_inbound::http::router::ClientRescue>, linkerd_reconnect::Reconnect<linkerd_app_inbound::http::router::Http, linkerd_app_core::svc::AlwaysReconnect, linkerd_stack::new_service::FromMakeService<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::client::Client<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::layer::{closure#0}>, linkerd_proxy_http::client::MakeClient<(), linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>>>, linkerd_app_inbound::http::router::Logical, linkerd_proxy_tap::grpc::server::Tap>, linkerd_app_core::classify::Response>> as tower_service::Service<http::request::Request<linkerd_http_box::body::BoxBody>>>::call::{closure#0}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#0}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<linkerd_proxy_http::orig_proto::Upgrade<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<http::request::Request<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>>::call::{closure#1}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>>::with_future<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>, std::io::error::Error>> + core::marker::Send>>>::{closure#0}> Unexecuted instantiation: futures_util::fns::map_ok_fn::<<http::response::Response<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, axum_core::error::Error>> as axum_core::response::into_response::IntoResponse>::into_response> Unexecuted instantiation: futures_util::fns::map_ok_fn::<_> |
209 | | |
210 | | #[derive(Debug, Copy, Clone, Default)] |
211 | | pub struct MapErrFn<F>(F); |
212 | | |
213 | | impl<F, T, E> FnOnce1<Result<T, E>> for MapErrFn<F> |
214 | | where |
215 | | F: FnOnce1<E>, |
216 | | { |
217 | | type Output = Result<T, F::Output>; |
218 | 5.90M | fn call_once(self, arg: Result<T, E>) -> Self::Output { |
219 | 5.90M | arg.map_err(|x| self.0.call_once(x)) Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} <futures_util::fns::MapErrFn<fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Line | Count | Source | 219 | 1.03k | arg.map_err(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapErrFn<fn(linkerd_app_inbound::http::router::LogicalError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, linkerd_app_inbound::http::router::LogicalError>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<(linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_transport::addrs::Local<linkerd_proxy_transport::addrs::ClientAddr>), std::io::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<hyper::error::Error>::new_connect<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<linkerd_proxy_http::orig_proto::downgrade_h2_error<hyper::error::Error>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once::{closure#0} <futures_util::fns::MapErrFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once::{closure#0} Line | Count | Source | 219 | 9 | arg.map_err(|x| self.0.call_once(x)) |
Unexecuted instantiation: <futures_util::fns::MapErrFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connection_for::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::client::pool::Pooled<hyper::client::client::PoolClient<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<linkerd_app_inbound::http::router::Http>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into> as futures_util::fns::FnOnce1<core::result::Result<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<fn(linkerd_app_core::control::EndpointError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, linkerd_app_core::control::EndpointError>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper_balance::PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::body::Body>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<(linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_tls::client::ConnectMeta<linkerd_proxy_transport::addrs::Local<linkerd_proxy_transport::addrs::ClientAddr>>), alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>> as tower_service::Service<linkerd_app_core::control::client::Target>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into> as futures_util::fns::FnOnce1<core::result::Result<tower::util::future_service::FutureService<tower::util::oneshot::Oneshot<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::h2::Connection<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>>::layer::{closure#0}>, linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>, linkerd_app_core::control::client::Target>, linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::h2::Connection<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<core::pin::Pin<alloc::boxed::Box<hyper_timeout::stream::TimeoutConnectorStream<tonic::transport::service::io::BoxedIo>>>, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<tonic::transport::service::io::BoxedIo, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once::{closure#0} |
220 | 5.90M | } Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once <futures_util::fns::MapErrFn<fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 218 | 2.15M | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 2.15M | arg.map_err(|x| self.0.call_once(x)) | 220 | 2.15M | } |
<futures_util::fns::MapErrFn<fn(linkerd_app_inbound::http::router::LogicalError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, linkerd_app_inbound::http::router::LogicalError>>>::call_once Line | Count | Source | 218 | 538k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 538k | arg.map_err(|x| self.0.call_once(x)) | 220 | 538k | } |
<futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 218 | 2.15M | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 2.15M | arg.map_err(|x| self.0.call_once(x)) | 220 | 2.15M | } |
<futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>>>::call_once Line | Count | Source | 218 | 538k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 538k | arg.map_err(|x| self.0.call_once(x)) | 220 | 538k | } |
Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<(linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_transport::addrs::Local<linkerd_proxy_transport::addrs::ClientAddr>), std::io::error::Error>>>::call_once <futures_util::fns::MapErrFn<<hyper::error::Error>::new_connect<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Line | Count | Source | 218 | 262k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 262k | arg.map_err(|x| self.0.call_once(x)) | 220 | 262k | } |
Unexecuted instantiation: <futures_util::fns::MapErrFn<linkerd_proxy_http::orig_proto::downgrade_h2_error<hyper::error::Error>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once <futures_util::fns::MapErrFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Line | Count | Source | 218 | 248k | fn call_once(self, arg: Result<T, E>) -> Self::Output { | 219 | 248k | arg.map_err(|x| self.0.call_once(x)) | 220 | 248k | } |
Unexecuted instantiation: <futures_util::fns::MapErrFn<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connection_for::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::client::pool::Pooled<hyper::client::client::PoolClient<linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>, hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<linkerd_app_inbound::http::router::Http>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into> as futures_util::fns::FnOnce1<core::result::Result<tower::util::boxed::sync::BoxService<http::request::Request<linkerd_http_box::body::BoxBody>, http::response::Response<linkerd_http_box::body::BoxBody>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<fn(linkerd_app_core::control::EndpointError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper::body::body::Body>, linkerd_app_core::control::EndpointError>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<http::response::Response<hyper_balance::PendingUntilFirstDataBody<tower::load::peak_ewma::Handle, hyper::body::body::Body>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> as futures_util::fns::FnOnce1<core::result::Result<(linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_tls::client::ConnectMeta<linkerd_proxy_transport::addrs::Local<linkerd_proxy_transport::addrs::ClientAddr>>), alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>> as tower_service::Service<linkerd_app_core::control::client::Target>>::call::{closure#0}::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<(), hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into> as futures_util::fns::FnOnce1<core::result::Result<tower::util::future_service::FutureService<tower::util::oneshot::Oneshot<linkerd_stack::on_service::OnService<tower_layer::layer_fn::LayerFn<<linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::h2::Connection<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>>::layer::{closure#0}>, linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>, linkerd_app_core::control::client::Target>, linkerd_stack::map_err::MapErr<(), linkerd_proxy_http::h2::Connection<linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>>>, alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> as futures_util::fns::FnOnce1<core::result::Result<hickory_proto::tcp::tcp_client_stream::TcpClientStream<hickory_proto::iocompat::AsyncIoTokioAsStd<tokio::net::tcp::stream::TcpStream>>, std::io::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<core::pin::Pin<alloc::boxed::Box<hyper_timeout::stream::TimeoutConnectorStream<tonic::transport::service::io::BoxedIo>>>, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<hyper::proto::h2::client::handshake<tonic::transport::service::io::BoxedIo, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> as futures_util::fns::FnOnce1<core::result::Result<(), h2::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once Unexecuted instantiation: <futures_util::fns::MapErrFn<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> as futures_util::fns::FnOnce1<core::result::Result<hyper::upgrade::Upgraded, hyper::error::Error>>>::call_once |
221 | | } |
222 | | impl<F, T, E> FnMut1<Result<T, E>> for MapErrFn<F> |
223 | | where |
224 | | F: FnMut1<E>, |
225 | | { |
226 | 0 | fn call_mut(&mut self, arg: Result<T, E>) -> Self::Output { |
227 | 0 | arg.map_err(|x| self.0.call_mut(x)) Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} |
228 | 0 | } Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut |
229 | | } |
230 | | impl<F, T, E> Fn1<Result<T, E>> for MapErrFn<F> |
231 | | where |
232 | | F: Fn1<E>, |
233 | | { |
234 | 0 | fn call(&self, arg: Result<T, E>) -> Self::Output { |
235 | 0 | arg.map_err(|x| self.0.call(x)) Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} |
236 | 0 | } Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::MapErrFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call |
237 | | } |
238 | 5.91M | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { |
239 | 5.91M | MapErrFn(f) |
240 | 5.91M | } Unexecuted instantiation: futures_util::fns::map_err_fn::<_> Unexecuted instantiation: futures_util::fns::map_err_fn::<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> Unexecuted instantiation: futures_util::fns::map_err_fn::<_> futures_util::fns::map_err_fn::<fn(linkerd_app_inbound::http::router::LogicalError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> Line | Count | Source | 238 | 538k | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { | 239 | 538k | MapErrFn(f) | 240 | 538k | } |
futures_util::fns::map_err_fn::<<hyper::error::Error>::new_connect<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> Line | Count | Source | 238 | 262k | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { | 239 | 262k | MapErrFn(f) | 240 | 262k | } |
Unexecuted instantiation: futures_util::fns::map_err_fn::<linkerd_proxy_http::orig_proto::downgrade_h2_error<hyper::error::Error>> Unexecuted instantiation: futures_util::fns::map_err_fn::<hyper::proto::h2::client::handshake<linkerd_http_upgrade::glue::Connection<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> Unexecuted instantiation: futures_util::fns::map_err_fn::<hyper::proto::h2::client::handshake<linkerd_io::sensor::SensorIo<linkerd_io::boxed::BoxedIo, linkerd_transport_metrics::sensor::Sensor>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>::{closure#0}::{closure#2}> futures_util::fns::map_err_fn::<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connect_to::{closure#0}::{closure#0}::{closure#0}::{closure#0}> Line | Count | Source | 238 | 262k | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { | 239 | 262k | MapErrFn(f) | 240 | 262k | } |
Unexecuted instantiation: futures_util::fns::map_err_fn::<<hyper::client::client::Client<linkerd_http_upgrade::glue::HyperConnect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_app_inbound::http::router::Http>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>>>::connection_for::{closure#0}::{closure#0}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_transport_metrics::client::Client<linkerd_app_core::transport::Metrics, linkerd_stack::box_future::BoxFuture<linkerd_stack::connect::MakeConnectionService<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>>, <linkerd_app_inbound::Inbound<linkerd_stack::map_target::MapTargetService<linkerd_app_test::connect::Connect<linkerd_proxy_transport::addrs::Remote<linkerd_proxy_transport::addrs::ServerAddr>>, linkerd_app_inbound::http::fuzz::build_fuzz_server<tokio::io::util::mem::DuplexStream>::{closure#0}>>>::push_http_router<linkerd_app_inbound::http::fuzz::Target, linkerd_app_test::resolver::Resolver<linkerd_addr::Addr, core::option::Option<linkerd_service_profiles::Receiver>>>::{closure#0}::{closure#1}>, linkerd_proxy_tap::service::Body<linkerd_http_metrics::requests::service::RequestBody<linkerd_http_box::body::BoxBody, linkerd_app_core::classify::Class>, linkerd_proxy_tap::grpc::server::TapRequestPayload>> as tower_service::Service<linkerd_app_inbound::http::router::Http>>::call::{closure#0}::{closure#0}> futures_util::fns::map_err_fn::<fn(alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> Line | Count | Source | 238 | 2.15M | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { | 239 | 2.15M | MapErrFn(f) | 240 | 2.15M | } |
Unexecuted instantiation: futures_util::fns::map_err_fn::<fn(linkerd_app_core::control::EndpointError) -> alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> futures_util::fns::map_err_fn::<futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>> Line | Count | Source | 238 | 2.69M | pub(crate) fn map_err_fn<F>(f: F) -> MapErrFn<F> { | 239 | 2.69M | MapErrFn(f) | 240 | 2.69M | } |
Unexecuted instantiation: futures_util::fns::map_err_fn::<hyper::proto::h2::client::handshake<linkerd_io::either::EitherIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>, linkerd_meshtls::client::ClientIo<linkerd_io::scoped::ScopedIo<tokio::net::tcp::stream::TcpStream>>>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>>::{closure#0}::{closure#2}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_proxy_http::h2::Connect<linkerd_stack::map_target::MapTargetService<linkerd_stack::map_err::MapErr<<linkerd_app_core::svc::Stack<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>::push_connect_timeout::{closure#0}, linkerd_stack::timeout::Timeout<linkerd_tls::client::Client<linkerd_meshtls::client::NewClient, linkerd_proxy_transport::connect::ConnectTcp>>>, <linkerd_app_core::control::Config>::build::{closure#1}>, linkerd_http_metrics::requests::service::RequestBody<http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>, linkerd_app_core::classify::Class>> as tower_service::Service<linkerd_app_core::control::client::Target>>::call::{closure#0}::{closure#0}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send> as core::convert::Into<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::into> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<hickory_proto::error::ProtoError as core::convert::From<std::io::error::Error>>::from> Unexecuted instantiation: futures_util::fns::map_err_fn::<hyper::proto::h2::client::handshake<core::pin::Pin<alloc::boxed::Box<hyper_timeout::stream::TimeoutConnectorStream<tonic::transport::service::io::BoxedIo>>>, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> Unexecuted instantiation: futures_util::fns::map_err_fn::<hyper::proto::h2::client::handshake<tonic::transport::service::io::BoxedIo, http_body::combinators::box_body::UnsyncBoxBody<bytes::bytes::Bytes, tonic::status::Status>>::{closure#0}::{closure#2}> Unexecuted instantiation: futures_util::fns::map_err_fn::<_> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#0}> Unexecuted instantiation: futures_util::fns::map_err_fn::<<linkerd_http_upgrade::upgrade::Inner as core::ops::drop::Drop>::drop::{closure#1}> |
241 | | |
242 | | #[derive(Debug, Copy, Clone)] |
243 | | pub struct InspectOkFn<F>(F); |
244 | | |
245 | | impl<'a, F, T, E> FnOnce1<&'a Result<T, E>> for InspectOkFn<F> |
246 | | where |
247 | | F: FnOnce1<&'a T, Output = ()>, |
248 | | { |
249 | | type Output = (); |
250 | 0 | fn call_once(self, arg: &'a Result<T, E>) -> Self::Output { |
251 | 0 | if let Ok(x) = arg { |
252 | 0 | self.0.call_once(x) |
253 | 0 | } |
254 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once |
255 | | } |
256 | | impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectOkFn<F> |
257 | | where |
258 | | F: FnMut1<&'a T, Output = ()>, |
259 | | { |
260 | 0 | fn call_mut(&mut self, arg: &'a Result<T, E>) -> Self::Output { |
261 | 0 | if let Ok(x) = arg { |
262 | 0 | self.0.call_mut(x) |
263 | 0 | } |
264 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut |
265 | | } |
266 | | impl<'a, F, T, E> Fn1<&'a Result<T, E>> for InspectOkFn<F> |
267 | | where |
268 | | F: Fn1<&'a T, Output = ()>, |
269 | | { |
270 | 0 | fn call(&self, arg: &'a Result<T, E>) -> Self::Output { |
271 | 0 | if let Ok(x) = arg { |
272 | 0 | self.0.call(x) |
273 | 0 | } |
274 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::InspectOkFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call |
275 | | } |
276 | 0 | pub(crate) fn inspect_ok_fn<F>(f: F) -> InspectOkFn<F> { |
277 | 0 | InspectOkFn(f) |
278 | 0 | } Unexecuted instantiation: futures_util::fns::inspect_ok_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_ok_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_ok_fn::<_> |
279 | | |
280 | | #[derive(Debug, Copy, Clone)] |
281 | | pub struct InspectErrFn<F>(F); |
282 | | |
283 | | impl<'a, F, T, E> FnOnce1<&'a Result<T, E>> for InspectErrFn<F> |
284 | | where |
285 | | F: FnOnce1<&'a E, Output = ()>, |
286 | | { |
287 | | type Output = (); |
288 | 0 | fn call_once(self, arg: &'a Result<T, E>) -> Self::Output { |
289 | 0 | if let Err(x) = arg { |
290 | 0 | self.0.call_once(x) |
291 | 0 | } |
292 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnOnce1<&core::result::Result<_, _>>>::call_once |
293 | | } |
294 | | impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectErrFn<F> |
295 | | where |
296 | | F: FnMut1<&'a E, Output = ()>, |
297 | | { |
298 | 0 | fn call_mut(&mut self, arg: &'a Result<T, E>) -> Self::Output { |
299 | 0 | if let Err(x) = arg { |
300 | 0 | self.0.call_mut(x) |
301 | 0 | } |
302 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::FnMut1<&core::result::Result<_, _>>>::call_mut |
303 | | } |
304 | | impl<'a, F, T, E> Fn1<&'a Result<T, E>> for InspectErrFn<F> |
305 | | where |
306 | | F: Fn1<&'a E, Output = ()>, |
307 | | { |
308 | 0 | fn call(&self, arg: &'a Result<T, E>) -> Self::Output { |
309 | 0 | if let Err(x) = arg { |
310 | 0 | self.0.call(x) |
311 | 0 | } |
312 | 0 | } Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::InspectErrFn<_> as futures_util::fns::Fn1<&core::result::Result<_, _>>>::call |
313 | | } |
314 | 0 | pub(crate) fn inspect_err_fn<F>(f: F) -> InspectErrFn<F> { |
315 | 0 | InspectErrFn(f) |
316 | 0 | } Unexecuted instantiation: futures_util::fns::inspect_err_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_err_fn::<_> Unexecuted instantiation: futures_util::fns::inspect_err_fn::<_> |
317 | | |
318 | | pub(crate) type MapOkOrElseFn<F, G> = ChainFn<MapOkFn<F>, ChainFn<MapErrFn<G>, MergeResultFn>>; |
319 | 0 | pub(crate) fn map_ok_or_else_fn<F, G>(f: F, g: G) -> MapOkOrElseFn<F, G> { |
320 | 0 | chain_fn(map_ok_fn(f), chain_fn(map_err_fn(g), merge_result_fn())) |
321 | 0 | } Unexecuted instantiation: futures_util::fns::map_ok_or_else_fn::<_, _> Unexecuted instantiation: futures_util::fns::map_ok_or_else_fn::<_, _> Unexecuted instantiation: futures_util::fns::map_ok_or_else_fn::<_, _> |
322 | | |
323 | | #[derive(Debug, Copy, Clone, Default)] |
324 | | pub struct UnwrapOrElseFn<F>(F); |
325 | | |
326 | | impl<F, T, E> FnOnce1<Result<T, E>> for UnwrapOrElseFn<F> |
327 | | where |
328 | | F: FnOnce1<E, Output = T>, |
329 | | { |
330 | | type Output = T; |
331 | 0 | fn call_once(self, arg: Result<T, E>) -> Self::Output { |
332 | 0 | arg.unwrap_or_else(|x| self.0.call_once(x)) Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once::{closure#0} |
333 | 0 | } Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnOnce1<core::result::Result<_, _>>>::call_once |
334 | | } |
335 | | impl<F, T, E> FnMut1<Result<T, E>> for UnwrapOrElseFn<F> |
336 | | where |
337 | | F: FnMut1<E, Output = T>, |
338 | | { |
339 | 0 | fn call_mut(&mut self, arg: Result<T, E>) -> Self::Output { |
340 | 0 | arg.unwrap_or_else(|x| self.0.call_mut(x)) Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut::{closure#0} |
341 | 0 | } Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::FnMut1<core::result::Result<_, _>>>::call_mut |
342 | | } |
343 | | impl<F, T, E> Fn1<Result<T, E>> for UnwrapOrElseFn<F> |
344 | | where |
345 | | F: Fn1<E, Output = T>, |
346 | | { |
347 | 0 | fn call(&self, arg: Result<T, E>) -> Self::Output { |
348 | 0 | arg.unwrap_or_else(|x| self.0.call(x)) Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call::{closure#0} |
349 | 0 | } Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call Unexecuted instantiation: <futures_util::fns::UnwrapOrElseFn<_> as futures_util::fns::Fn1<core::result::Result<_, _>>>::call |
350 | | } |
351 | 0 | pub(crate) fn unwrap_or_else_fn<F>(f: F) -> UnwrapOrElseFn<F> { |
352 | 0 | UnwrapOrElseFn(f) |
353 | 0 | } Unexecuted instantiation: futures_util::fns::unwrap_or_else_fn::<_> Unexecuted instantiation: futures_util::fns::unwrap_or_else_fn::<_> Unexecuted instantiation: futures_util::fns::unwrap_or_else_fn::<_> |
354 | | |
355 | | pub struct IntoFn<T>(PhantomData<fn() -> T>); |
356 | | |
357 | | impl<T> Default for IntoFn<T> { |
358 | 2.69M | fn default() -> Self { |
359 | 2.69M | Self(PhantomData) |
360 | 2.69M | } Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::default::Default>::default Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::default::Default>::default <futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as core::default::Default>::default Line | Count | Source | 358 | 2.69M | fn default() -> Self { | 359 | 2.69M | Self(PhantomData) | 360 | 2.69M | } |
Unexecuted instantiation: <futures_util::fns::IntoFn<_> as core::default::Default>::default |
361 | | } |
362 | | impl<A, T> FnOnce1<A> for IntoFn<T> |
363 | | where |
364 | | A: Into<T>, |
365 | | { |
366 | | type Output = T; |
367 | 0 | fn call_once(self, arg: A) -> Self::Output { |
368 | 0 | arg.into() |
369 | 0 | } Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnOnce1<_>>::call_once Unexecuted instantiation: <futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<hyper::error::Error>>::call_once Unexecuted instantiation: <futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<std::io::error::Error>>::call_once Unexecuted instantiation: <futures_util::fns::IntoFn<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>> as futures_util::fns::FnOnce1<alloc::boxed::Box<dyn core::error::Error + core::marker::Sync + core::marker::Send>>>::call_once Unexecuted instantiation: <futures_util::fns::IntoFn<_> as futures_util::fns::FnOnce1<_>>::call_once |
370 | | } |
371 | | |
372 | | trivial_fn_impls!(into_fn <T> IntoFn<T> = "Into::into"); |