Both awc::Client and hyper::client::Client support Debug, allowing to derive Debug for IpfsClient as well. This makes it possible to print clients like with
println!("Client: {:?}", IpfsClient::default());
which, with hyper, will output something like this:
Both
awc::Client
andhyper::client::Client
supportDebug
, allowing to deriveDebug
forIpfsClient
as well. This makes it possible to print clients like withwhich, with
hyper
, will output something like this: