Mocking in Rust?

68 points rnottaken

In other languages I was tasked to do some mocking, implementing interfaces with test classes.

Rust doesn't have interfaces, so how would you moch anything?