pub trait ToReport<T> {
// Required method
fn to_report(self) -> Report<T>;
// Provided method
fn change_context<C: Context>(self, context: C) -> Report<C>
where Self: Sized { ... }
}pub trait ToReport<T> {
// Required method
fn to_report(self) -> Report<T>;
// Provided method
fn change_context<C: Context>(self, context: C) -> Report<C>
where Self: Sized { ... }
}