/// Handle errors for the `Session` with the `Token` by logging a message
/// and closing the session.
Handle errors for the `Session` with the `Token` by logging a message
and closing the session.
Handle errors for the ` Session ` with the ` Token ` by logging a message and closing the session .
fn handle_error(&mut self, token: Token) {
        trace!("handling error for session: {}", token.0);
        debug!("Error handling event");
        self.close(token);
    }
fn handle_error ( & mut self , token : Token ) { trace ! ( " " token 0 ) ; debug ! ( " " ) ; self . close ( token ) ; }
Handle errors for the `Session` with the `Token` by logging a message
and closing the session.
Handle errors for the ` Session ` with the ` Token ` by logging a message and closing the session .
&mut self
token
Token