pub trait ResultInspectRef<F, T>where F: FnOnce(&T), T: Sized,{ // Required method fn inspect(&self, f: F); }