pub trait Loader<C: CurveAffine>:
EcPointLoader<C>
+ ScalarLoader<C::ScalarExt>
+ Clone
+ Debug {
// Provided methods
fn start_cost_metering(&self, _identifier: &str) { ... }
fn end_cost_metering(&self) { ... }
}
Expand description
EcPointLoader
and ScalarLoader
with some helper methods.
Provided Methods§
Sourcefn start_cost_metering(&self, _identifier: &str)
fn start_cost_metering(&self, _identifier: &str)
Start cost metering with an identifier
.
Sourcefn end_cost_metering(&self)
fn end_cost_metering(&self)
End latest started cost metering.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.