Trait prql_compiler::internals::IntoOnly
source · [−]pub trait IntoOnly where
Self: IntoIterator, {
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.