ReqwestStreamingError

Type Alias ReqwestStreamingError 

Source
pub type ReqwestStreamingError = ClientStreamingError;
Expand description

Type alias for reqwest streaming errors, using the unified streaming error system

Aliased Type§

pub enum ReqwestStreamingError {
    Client {
        client: String,
        error: Box<dyn Error + Sync + Send>,
    },
    HttpCache(StreamingError),
    Other(Box<dyn Error + Sync + Send>),
}

Variants§

§

Client

Client-specific streaming error with context

Fields

§client: String

The name of the client library (e.g., “reqwest”, “tower”)

§error: Box<dyn Error + Sync + Send>

The underlying client error

§

HttpCache(StreamingError)

HTTP cache streaming error (delegated to StreamingError)

§

Other(Box<dyn Error + Sync + Send>)

Other streaming error