{ methods.add_method("contains_item", |_, this, counter: LabeledIntCounterVec| { this.update(&counter); Ok(()) }); } } Err(e) .

Method calls may only be used at compile time.") local.