pub trait Keyed {
// Required method
fn key(&self) -> &Address;
}Expand description
The on-chain address of an account representation, that is, the generic A
used in our parser. This can be used by implementations to use custom
address types in the parser, as long as they implement Keyed.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".