Trait cfg_traits::investments::TrancheCurrency  
source · pub trait TrancheCurrency<PoolId, TrancheId> {
    // Required methods
    fn generate(pool_id: PoolId, tranche_id: TrancheId) -> Self;
    fn of_pool(&self) -> PoolId;
    fn of_tranche(&self) -> TrancheId;
}Expand description
A trait for converting from a PoolId and a TranchId into a given Self::Currency
Required Methods§
fn generate(pool_id: PoolId, tranche_id: TrancheId) -> Self
fn of_pool(&self) -> PoolId
fn of_tranche(&self) -> TrancheId
Object Safety§
This trait is not object safe.