Derive `Debug` for `CachedClientError` (#703)

Discovered while debugging https://github.com/astral-sh/puffin/pull/702
This commit is contained in:
Zanie Blue 2023-12-19 12:22:39 -06:00 committed by GitHub
parent aa9f47bbde
commit 52ba65aa9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ use puffin_cache::CacheEntry;
use puffin_fs::write_atomic;
/// Either a cached client error or a (user specified) error from the callback
#[derive(Debug)]
pub enum CachedClientError<CallbackError> {
Client(crate::Error),
Callback(CallbackError),