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