MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / from

Method from

chain/src/error.rs:104–106  ·  view source on GitHub ↗
(error: AddrParseError)

Source from the content-addressed store, hash-verified

102
103impl From<AddrParseError> for ChainError {
104 fn from(error: AddrParseError) -> Self {
105 ChainError::AddrParseError(error.to_string())
106 }
107}
108
109impl From<FromEnvError> for ChainError {

Callers

nothing calls this directly

Calls 1

TypeErrorEnum · 0.85

Tested by

no test coverage detected