Skip to main content

FetcherError

Trait FetcherError 

Source
pub trait FetcherError:
    Error
    + Send
    + Sync
    + 'static {
    // Required method
    fn kind(&self) -> FetcherErrorKind;
}
Expand description

Error any fetcher implementation may return; the controller wraps it with context.

Required Methods§

Source

fn kind(&self) -> FetcherErrorKind

Coarse category the controller can branch on without knowing the concrete error type.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§