fn read(data_file_path: &str) -> Result<WalletData, Error> {
		let data_file = File::open(data_file_path).map_err(|e| {
			Error::WalletData(format!("Could not open {}: {}", data_file_path, e))
		})?;
		serde_json::from_reader(data_file).map_err(|e| {
			Error::WalletData(format!("Error reading {}: {}", data_file_path, e))
		})
	}
/// Read the wallet data from disk.
Read the wallet data from disk.
Read the wallet data from disk .
fn read(data_file_path: &str) -> Result<WalletData, Error> {
		let data_file = File::open(data_file_path).map_err(|e| {
			Error::WalletData(format!("Could not open {}: {}", data_file_path, e))
		})?;
		serde_json::from_reader(data_file).map_err(|e| {
			Error::WalletData(format!("Error reading {}: {}", data_file_path, e))
		})
	}
fn read ( data_file_path : & str ) -> Result < WalletData , Error > { let data_file = File :: open ( data_file_path ) . map_err ( | e | { Error :: WalletData ( format ! ( " " data_file_path e ) ) } ) ? ; serde_json :: from_reader ( data_file ) . map_err ( | e | { Error :: WalletData ( format ! ( " " data_file_path e ) ) } ) }
Read the wallet data from disk.
Read the wallet data from disk .
data_file_path
&str