pub trait IntoOnly { type Item; fn into_only(self) -> Result<Self::Item>; }
Returns the only element of an Iterator, or an error if it has more than one element.