fn inc_index(&mut self) -> u32 {
        let index = self.next_index;
        let idx8 = index as u8;
        self.next_index = (index & !0xff) | u32::from(idx8.wrapping_add(1));
        index
    }
// The index used is 24 bits for peer index, allowing for 16M active peers per server and 8 bits for cyclic session index
The index used is 24 bits for peer index, allowing for 16M active peers per server and 8 bits for cyclic session index
The index used is 24 bits for peer index allowing for 16M active peers per server and 8 bits for cyclic session index
fn inc_index(&mut self) -> u32 {
        let index = self.next_index;
        let idx8 = index as u8;
        self.next_index = (index & !0xff) | u32::from(idx8.wrapping_add(1));
        index
    }
fn inc_index ( & mut self ) -> u32 { let index = self . next_index ; let idx8 = index as u8 ; self . next_index = ( index & ! 0xff ) | u32 :: from ( idx8 . wrapping_add ( 1 ) ) ; index }
The index used is 24 bits for peer index, allowing for 16M active peers per server and 8 bits for cyclic session index
The index used is 24 bits for peer index allowing for 16M active peers per server and 8 bits for cyclic session index
&mut self
&mut self