pub fn slot_deltas(&self, slots: &[Slot]) -> Vec<SlotDelta<T>> {
        let empty = Arc::new(Mutex::new(HashMap::new()));
        slots
            .iter()
            .map(|slot| {
                (
                    *slot,
                    self.roots.contains(slot),
                    self.slot_deltas.get(slot).unwrap_or(&empty).clone(),
                )
            })
            .collect()
    }
// returns the statuses for each slot in the slots provided
returns the statuses for each slot in the slots provided
returns the statuses for each slot in the slots provided
pub fn slot_deltas(&self, slots: &[Slot]) -> Vec<SlotDelta<T>> {
        let empty = Arc::new(Mutex::new(HashMap::new()));
        slots
            .iter()
            .map(|slot| {
                (
                    *slot,
                    self.roots.contains(slot),
                    self.slot_deltas.get(slot).unwrap_or(&empty).clone(),
                )
            })
            .collect()
    }
pub fn slot_deltas ( & self , slots : & [ Slot ] ) -> Vec < SlotDelta < T > > { let empty = Arc :: new ( Mutex :: new ( HashMap :: new ( ) ) ) ; slots . iter ( ) . map ( | slot | { ( * slot , self . roots . contains ( slot ) , self . slot_deltas . get ( slot ) . unwrap_or ( & empty ) . clone ( ) , ) } ) . collect ( ) }
returns the statuses for each slot in the slots provided
returns the statuses for each slot in the slots provided
&self
slots
&[Slot]