pub(crate) trait OnFailure {
// Required method
fn on_failure(&mut self, err: Error);
}
Expand description
Callback on failure.
Required Methods§
Sourcefn on_failure(&mut self, err: Error)
fn on_failure(&mut self, err: Error)
Handles err
on failure.