get

Function get 

Source
pub fn get<Addr: Address<IsDecodable = Yes> + ?Sized>(
    address: &Addr,
    metadata: &Metadata,
) -> Result<Addr::Target, Error>
Expand description

Access a custom value by the address it is registered under. This can be just a str to get back a dynamic value, or a static address from the generated static interface to get a value of a static type returned.