fn add_holder(&mut self, dep: &Dependency<C>, sender: I, time_received: Timestamp) {
        if let Some((_, holders)) = self.0.iter_mut().find(|(pvv, _)| pvv.inner().id() == *dep) {
            holders.entry(sender).or_insert(time_received);
        }
    }
/// Adds a holder to the vertex that satisfies `dep`.
Adds a holder to the vertex that satisfies `dep`.
Adds a holder to the vertex that satisfies ` dep ` .
fn add_holder(&mut self, dep: &Dependency<C>, sender: I, time_received: Timestamp) {
        if let Some((_, holders)) = self.0.iter_mut().find(|(pvv, _)| pvv.inner().id() == *dep) {
            holders.entry(sender).or_insert(time_received);
        }
    }
fn add_holder ( & mut self , dep : & Dependency < C > , sender : I , time_received : Timestamp ) { if let Some ( ( _ , holders ) ) = self . 0 . iter_mut ( ) . find ( | ( pvv , _ ) | pvv . inner ( ) . id ( ) == * dep ) { holders . entry ( sender ) . or_insert ( time_received ) ; } }
Adds a holder to the vertex that satisfies `dep`.
Adds a holder to the vertex that satisfies ` dep ` .
&mut self
dep
&Dependency<C>
sender
I
time_received
Timestamp
&mut self
dep
&Dependency<C>
sender
I
time_received
Timestamp