pub trait WeightInfo {
// Required methods
fn sha3_fips_256(preimage_len: u32) -> Weight;
fn sha3_fips_512(preimage_len: u32) -> Weight;
}
Required Methods§
fn sha3_fips_256(preimage_len: u32) -> Weight
fn sha3_fips_512(preimage_len: u32) -> Weight
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.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn sha3_fips_256(n: u32) -> Weight
fn sha3_fips_256(n: u32) -> Weight
The range of component n
is [1, 4096]
.
Source§fn sha3_fips_512(n: u32) -> Weight
fn sha3_fips_512(n: u32) -> Weight
The range of component n
is [1, 4096]
.