code: func WithRetryOpts(value retry.Opts) copts.Opt {
  	return func(p copts.Params) {
  		if setter, ok := p.(retryOptsSetter); ok {
  			setter.SetRetryOpts(value)
  		}
  	}
  }
docs: // WithRetryOpts sets the retry options