fn storage_for(&self, key: &EntityKey) -> &Storage {
        if key.subgraph_id == *SUBGRAPHS_ID {
            self.metadata.as_ref()
        } else if &key.subgraph_id == self.storage.subgraph() {
            self.storage.as_ref()
        } else {
            panic!(
                "A connection can only be used with one subgraph and \
                 the metadata subgraph.\nThe connection for {} is also \
                 used with {}",
                self.storage.subgraph(),
                key.subgraph_id
            );
        }
    }
/// Return the storage for `key`, which must refer either to the subgraph
/// for this connection, or the metadata subgraph.
///
/// # Panics
///
/// If `key` does not reference the connection's subgraph or the metadata
/// subgraph
Return the storage for `key`, which must refer either to the subgraph
for this connection, or the metadata subgraph.
Return the storage for ` key ` which must refer either to the subgraph for this connection or the metadata subgraph .
fn storage_for(&self, key: &EntityKey) -> &Storage {
        if key.subgraph_id == *SUBGRAPHS_ID {
            self.metadata.as_ref()
        } else if &key.subgraph_id == self.storage.subgraph() {
            self.storage.as_ref()
        } else {
            panic!(
                "A connection can only be used with one subgraph and \
                 the metadata subgraph.\nThe connection for {} is also \
                 used with {}",
                self.storage.subgraph(),
                key.subgraph_id
            );
        }
    }
fn storage_for ( & self , key : & EntityKey ) -> & Storage { if key . subgraph_id == * SUBGRAPHS_ID { self . metadata . as_ref ( ) } else if & key . subgraph_id == self . storage . subgraph ( ) { self . storage . as_ref ( ) } else { panic ! ( " \
 \n \
 " self storage subgraph ( ) key subgraph_id ) ; } }
Return the storage for `key`, which must refer either to the subgraph
for this connection, or the metadata subgraph.
Return the storage for ` key ` which must refer either to the subgraph for this connection or the metadata subgraph .
&self
key
&EntityKey
&self
key
&EntityKey
panics
If `key` does not reference the connection's subgraph or the metadata
subgraph
If ` key ` does not reference the connection ' s subgraph or the metadata subgraph