Skip to content

MediumScenarioTraits, generics and error handling

A library function currently panics on bad input and callers want to handle it. How do you change the API?

This answer is part of Pro

10 of 81 Rust Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

More on Traits, generics and error handling

Flashcards for this topic