func WithDriver(driver Driver) ProvidersOptionFunc {
	return func(options *providersOption) {
		options.driver = driver
	}
}
WithDriver instructs the Providers to accept a leader election driver
different from the default one. This option supersedes the
WithDriverConstructor option.
package leader
type providersOption struct {
	driver            Driver
	driverConstructor func(args DriverArgs) (Driver, error)
}
type ProvidersOptionFunc func(options *providersOption)