pub trait StreamErrorHandler<Err> {
// Required method
fn handle(&mut self, error: &Err) -> StreamErrorAction;
}Expand description
Handles stream errors and determines the appropriate StreamErrorAction.
Required Methods§
Sourcefn handle(&mut self, error: &Err) -> StreamErrorAction
fn handle(&mut self, error: &Err) -> StreamErrorAction
Handles a stream error and returns the action to take.