Trait polkadot_sdk_frame::traits::TypedGet
pub trait TypedGet {
type Type;
// Required method
fn get() -> Self::Type;
}
Expand description
A trait for querying a single value from a type defined in the trait.
It is not required that the value is constant.
Required Associated Types§
type Type
type Type
The type which is returned.
Required Methods§
Object Safety§
This trait is not object safe.