fn maybe_add(&mut self, key: String, value: Data) {
        let mut data_map = self.inspect_data_map.lock().unwrap();
        match data_map.as_mut() {
            Some(map) => {
                map.insert(key, value);
            }
            _ => {}
        };
    }
/// Adds a key value to the contained vector if it hasn't been taken yet. Otherwise, does
/// nothing.
Adds a key value to the contained vector if it hasn't been taken yet. Otherwise, does
nothing.
Adds a key value to the contained vector if it hasn ' t been taken yet . Otherwise does nothing .
fn maybe_add(&mut self, key: String, value: Data) {
        let mut data_map = self.inspect_data_map.lock().unwrap();
        match data_map.as_mut() {
            Some(map) => {
                map.insert(key, value);
            }
            _ => {}
        };
    }
fn maybe_add ( & mut self , key : String , value : Data ) { let mut data_map = self . inspect_data_map . lock ( ) . unwrap ( ) ; match data_map . as_mut ( ) { Some ( map ) => { map . insert ( key , value ) ; } _ => { } } ; }
Adds a key value to the contained vector if it hasn't been taken yet.
Adds a key value to the contained vector if it hasn ' t been taken yet .
&mut self
key
String
value
Data