MCPcopy Create free account
hub / github.com/hashintel/hash / try_from

Method try_from

apps/hash-graph/src/subcommand/server.rs:82–84  ·  view source on GitHub ↗
(address: RpcAddress)

Source from the content-addressed store, hash-verified

80 type Error = Report<AddrParseError>;
81
82 fn try_from(address: RpcAddress) -> Result<Self, Report<AddrParseError>> {
83 address.to_string().parse::<Self>().attach(address)
84 }
85}
86
87#[derive(Debug, Clone, Parser)]

Callers

nothing calls this directly

Calls 1

attachMethod · 0.45

Tested by

no test coverage detected