mito2::request

Trait OnFailure

Source
pub(crate) trait OnFailure {
    // Required method
    fn on_failure(&mut self, err: Error);
}
Expand description

Callback on failure.

Required Methods§

Source

fn on_failure(&mut self, err: Error)

Handles err on failure.

Implementors§