rust [mockall return_once] borrowed value does not live long enough
I am learning Rust and I am writing a unit test using mockall library.
I have some String in my test and I want to pass it to multiple mock closures.
I am learning Rust and I am writing a unit test using mockall library.
I have some String in my test and I want to pass it to multiple mock closures.