pub trait DeriveExt: Derive {
// Provided method
fn derive_many(
&self,
start: u32,
count: u32,
) -> Result<Vec<DerivedAccount>, Self::Error> { ... }
}Expand description
Extension trait providing batch derivation for all Derive implementors.
This trait is automatically implemented for any type implementing Derive.
Provided Methods§
Sourcefn derive_many(
&self,
start: u32,
count: u32,
) -> Result<Vec<DerivedAccount>, Self::Error>
fn derive_many( &self, start: u32, count: u32, ) -> Result<Vec<DerivedAccount>, Self::Error>
Derive count accounts starting at index start.
§Errors
Returns Error::IndexOverflow if start + count overflows u32.