fn make_encoder_impl<'a>( array: &'a dyn Array, options: &EncoderOptions, ) -> Result<(Box<dyn Encoder + 'a>, Option<NullBuffer>), ArrowError>