Names of traits that enable mocks

· Users Rust Lang · June 25, 2026, 9:21 a.m.
Summary
The blog post discusses the author's exploration of naming conventions for traits in Rust, specifically differentiating between role-named traits and service interface traits. It delves into practical examples from the author's own application involving MIDI messages and discusses various naming strategies, highlighting the nuances of Rust's naming guidelines while sharing the author's personal experiences transitioning from C# to Rust.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →