Function basis_leg_index
fn basis_leg_index(code: &str) -> Result<AnyIndex, CurveError>Expand description
The registered term or overnight index a tenor basis leg projects on, or
CurveError::UnknownIndex naming the codes a leg accepts — those two
families, and only those.