Skip to main content

ConnectErrorHandler

Trait ConnectErrorHandler 

Source
pub trait ConnectErrorHandler<Err> {
    // Required method
    fn handle(&mut self, error: &ConnectError<Err>) -> ConnectErrorAction;
}
Expand description

Handles connection errors and determines the appropriate ConnectErrorAction.

Required Methods§

Source

fn handle(&mut self, error: &ConnectError<Err>) -> ConnectErrorAction

Handles a connection error and returns the action to take.

Implementors§

Source§

impl<Err, F> ConnectErrorHandler<Err> for F