MCPcopy Create free account
hub / github.com/06chaynes/http-cache / is_cache_error

Method is_cache_error

http-cache/src/error.rs:152–154  ·  view source on GitHub ↗

Returns true if this error is related to cache operations

(&self)

Source from the content-addressed store, hash-verified

150
151 /// Returns true if this error is related to cache operations
152 pub fn is_cache_error(&self) -> bool {
153 matches!(self, Self::Cache(_))
154 }
155
156 /// Returns true if this error is related to client operations
157 pub fn is_client_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected