Got the unable to determine type of bound parameter:unconstrained type
error fixed with a global function, still eludes me how to fix it with a
trait impl.