pub fn insert<G>(&self, prop: u16, future: G) -> LoadBalance<G, C> where G: Future {
        let index = self.record.group.0.borrow_mut().insert(prop);
        LoadBalance {
            record: Registered {
                index,
                group: self.record.group.clone(),//clone rc
            },
            future,
        }
    }
/// Insert future to this load balancing group with given number of time slots assigned. Returned wrapper
/// also belongs to the same group.
Insert future to this load balancing group with given number of time slots assigned. Returned wrapper
also belongs to the same group.
Insert future to this load balancing group with given number of time slots assigned . Returned wrapper also belongs to the same group .
pub fn insert<G>(&self, prop: u16, future: G) -> LoadBalance<G, C> where G: Future {
        let index = self.record.group.0.borrow_mut().insert(prop);
        LoadBalance {
            record: Registered {
                index,
                group: self.record.group.clone(),//clone rc
            },
            future,
        }
    }
pub fn insert < G > ( & self , prop : u16 , future : G ) -> LoadBalance < G , C > where G : Future { let index = self . record . group . 0 . borrow_mut ( ) . insert ( prop ) ; LoadBalance { record : Registered { index , group : self . record . group . clone ( ) , //clone rc } , future , } }
Insert future to this load balancing group with given number of time slots assigned.
Insert future to this load balancing group with given number of time slots assigned .
&self
prop
u16
future
G
&self
prop
u16
future
G