Trait polkadot_node_subsystem::gen::metered::oneshot::Measurable
source · pub trait Measurable {
// Required method
fn measurements(&self) -> Measurements;
}
Expand description
A dummy trait that allows implementing measurements
for Result<_,_>
.
Required Methods§
sourcefn measurements(&self) -> Measurements
fn measurements(&self) -> Measurements
Obtain a set of measurements represented by the Measurements
type.