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