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

Method is_streaming_error

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

Returns true if this error is related to streaming operations

(&self)

Source from the content-addressed store, hash-verified

160
161 /// Returns true if this error is related to streaming operations
162 pub fn is_streaming_error(&self) -> bool {
163 matches!(self, Self::Streaming(_))
164 }
165
166 /// Returns true if this error is a bad request
167 pub fn is_bad_request(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected