ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
246 stars 68 forks source link

Require Debug trait for implementations of Backend::Error attribute of Backend trait #137

Closed iamjpotts closed 12 months ago

iamjpotts commented 1 year ago

Allows test and experimental code to call unwrap() on IpfsApi methods when a concrete implementation of IpfsClient is not known in the current scope.

All of the existing implementations in the library already support the Debug trait, but it can't be used in some contexts without this change.