fn remove_key(&mut self, key: &Key) {
        use crate::time::wheel::Stack;

        // Special case the `expired` queue
        if self.slab[key.index].expired {
            self.expired.remove(&key.index, &mut self.slab);
        } else {
            self.wheel.remove(&key.index, &mut self.slab);
        }
    }
/// Removes the key from the expired queue or the timer wheel
/// depending on its expiration status.
///
/// # Panics
///
/// Panics if the key is not contained in the expired queue or the wheel.
Removes the key from the expired queue or the timer wheel
depending on its expiration status.
Removes the key from the expired queue or the timer wheel depending on its expiration status .
fn remove_key(&mut self, key: &Key) {
        use crate::time::wheel::Stack;
        // Special case the `expired` queue
        if self.slab[key.index].expired {
            self.expired.remove(&key.index, &mut self.slab);
        } else {
            self.wheel.remove(&key.index, &mut self.slab);
        }
    }
fn remove_key ( & mut self , key : & Key ) { use crate :: time :: wheel :: Stack ; // Special case the `expired` queue if self . slab [ key . index ] . expired { self . expired . remove ( & key . index , & mut self . slab ) ; } else { self . wheel . remove ( & key . index , & mut self . slab ) ; } }
Removes the key from the expired queue or the timer wheel
depending on its expiration status.
Removes the key from the expired queue or the timer wheel depending on its expiration status .
&mut self
key
&Key
panics
Panics if the key is not contained in the expired queue or the wheel.
Panics if the key is not contained in the expired queue or the wheel .