def name
import cswap-bend-cli@0.1.0.0/policy/safe.bend as Safeimport Base
180def name(+algo: Algo) -> String:
181 match algo:
182 case ABest{}:
183 "best"
184 case ARoundRobin{}:
185 "round-robin"
186 case ASoonestReset{}:
187 "soonest-reset"
188 case ASticky{}:
189 "sticky"
190 case ADrainFirst{}:
191 "drain-first"