http-cache-surf 0.15.0

http-cache middleware implementation for surf
Documentation
1
2
3
4
5
6
7
8
9
use thiserror::Error;

/// Generic error type for the `HttpCache` Surf implementation.
#[derive(Error, Debug)]
pub enum Error {
    /// There was a Surf client error
    #[error("Surf error: {0}")]
    Surf(#[from] anyhow::Error),
}