arrow_arith::arity

Function try_unary

Source
pub fn try_unary<I, F, O>(
    array: &PrimitiveArray<I>,
    op: F,
) -> Result<PrimitiveArray<O>, ArrowError>
where I: ArrowPrimitiveType, O: ArrowPrimitiveType, F: Fn(I::Native) -> Result<O::Native, ArrowError>,
Expand description

See [PrimitiveArray::try_unary]