Skip to main content

DeriveExt

Trait DeriveExt 

Source
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§

Source

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.

Implementors§

Source§

impl<T: Derive> DeriveExt for T