fn insert(&mut self, waker: &Waker) -> usize {
        let id = self.id_gen;
        self.id_gen += 1;
        self.count += 1;
        self.wakers.push((id, waker.clone()));
        id
    }
/// Inserts a new sleeping ticker.
Inserts a new sleeping ticker.
Inserts a new sleeping ticker .
fn insert(&mut self, waker: &Waker) -> usize {
        let id = self.id_gen;
        self.id_gen += 1;
        self.count += 1;
        self.wakers.push((id, waker.clone()));
        id
    }
fn insert ( & mut self , waker : & Waker ) -> usize { let id = self . id_gen ; self . id_gen += 1 ; self . count += 1 ; self . wakers . push ( ( id , waker . clone ( ) ) ) ; id }
Inserts a new sleeping ticker.
Inserts a new sleeping ticker .
&mut self
waker
&Waker
&mut self
waker
&Waker