Trait metrics_prometheus::recorder::IntoCow
source · pub trait IntoCow<'a, T: ToOwned + ?Sized + 'a> {
// Required method
fn into_cow(self) -> Cow<'a, T>;
}Expand description
Ad hoc polymorphism for accepting either a reference or an owned function argument.