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§
Sourcefn handle(&mut self, error: &ConnectError<Err>) -> ConnectErrorAction
fn handle(&mut self, error: &ConnectError<Err>) -> ConnectErrorAction
Handles a connection error and returns the action to take.