Skip to main content

TransportError

Type Alias TransportError 

Source
pub type TransportError = Box<dyn Error + Send + Sync + 'static>;
Expand description

A transport/decoding error, kept opaque on purpose. The concrete HTTP backend (reqwest) is an implementation detail, so it is boxed rather than exposed in the public API - a reqwest major bump must not force a breaking release of this crate. The message and std::error::Error::source chain are preserved.

Aliased Typeยง

pub struct TransportError(/* private fields */);