fn idle(&mut self, token: Token) {
        trace!("idle {:?}", token);
        if let Some(s) = self.connections[token].stream() {
            self.register(s, token);
        }
    }
/// idle connection
/// - reconnect on failure
/// - transition to Reading if entire buffer written in one call
idle connection
reconnect on failure
transition to Reading if entire buffer written in one call
idle connection reconnect on failure transition to Reading if entire buffer written in one call
fn idle(&mut self, token: Token) {
        trace!("idle {:?}", token);
        if let Some(s) = self.connections[token].stream() {
            self.register(s, token);
        }
    }
fn idle ( & mut self , token : Token ) { trace ! ( " " token ) ; if let Some ( s ) = self . connections [ token ] . stream ( ) { self . register ( s , token ) ; } }
idle connection
 reconnect on failure
 transition to Reading if entire buffer written in one call
idle connection reconnect on failure transition to Reading if entire buffer written in one call
&mut self
token
Token
&mut self
token
Token