fn into_config_with_id(self, network_id: NetworkIdentifier) -> Result<NetworkConfig, Error> {
        let seen_in_passive = false;
        NetworkConfig::new(network_id, self.credential, self.has_ever_connected, seen_in_passive)
            .map_err(|_| format_err!("error creating network config from persistent data"))
    }
/// Since Network Identifier is stored in the stash key and not in the stash value, we need
/// to combine network identifier with persistent data in order to make the network config.
Since Network Identifier is stored in the stash key and not in the stash value, we need
to combine network identifier with persistent data in order to make the network config.
Since Network Identifier is stored in the stash key and not in the stash value we need to combine network identifier with persistent data in order to make the network config .
fn into_config_with_id(self, network_id: NetworkIdentifier) -> Result<NetworkConfig, Error> {
        let seen_in_passive = false;
        NetworkConfig::new(network_id, self.credential, self.has_ever_connected, seen_in_passive)
            .map_err(|_| format_err!("error creating network config from persistent data"))
    }
fn into_config_with_id ( self , network_id : NetworkIdentifier ) -> Result < NetworkConfig , Error > { let seen_in_passive = false ; NetworkConfig :: new ( network_id , self . credential , self . has_ever_connected , seen_in_passive ) . map_err ( | _ | format_err ! ( " " ) ) }
Since Network Identifier is stored in the stash key and not in the stash value, we need
to combine network identifier with persistent data in order to make the network config.
Since Network Identifier is stored in the stash key and not in the stash value we need to combine network identifier with persistent data in order to make the network config .
self
network_id
NetworkIdentifier
self
network_id
NetworkIdentifier