pub trait Example<'a> {
// Required method
fn example(self, example: &'a str) -> Self;
}Expand description
Add an example message to an object.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<'a, T, E> Example<'a> for Result<T, HintedError<'a, E>>
Implementation of Example on any Results returned by
hint
impl<'a, T, E> Example<'a> for Result<T, HintedError<'a, E>>
Implementation of Example on any Results returned by
hint