pub(crate) fn general_trim<T: OffsetSizeTrait>( args: &[ArrayRef], trim_type: TrimType, use_string_view: bool, ) -> Result<ArrayRef>