Create an HTTP cache streaming error # Examples ```rust use http_cache::{ClientStreamingError, StreamingError}; let streaming_err = StreamingError::io("File read failed"); let err = ClientStreamingError::http_cache(streaming_err); ```
(error: StreamingError)
| 466 | /// let err = ClientStreamingError::http_cache(streaming_err); |
| 467 | /// ``` |
| 468 | pub fn http_cache(error: StreamingError) -> Self { |
| 469 | Self::HttpCache(error) |
| 470 | } |
| 471 | |
| 472 | /// Create a generic streaming error |
| 473 | /// |