pub fn only<T>( iter: Box<dyn Iterator<Item = Result<T, Error>>>, default: Option<T>, ) -> Option<Result<T, Error>>where T: Clone + 'static,