// WithForwardTimeout sets the time after which an individual RPC to a
// downstream Veneur times out
768929
func WithForwardTimeout(d time.Duration) Option {
	return func(opts *options) {
		opts.forwardTimeout = d
	}
}
636887
func (o *PostIPAMParams) WithTimeout(timeout time.Duration) *PostIPAMParams {
	o.SetTimeout(timeout)
	return o
}
1073169
func (o *PutEndpointIDParams) WithTimeout(timeout time.Duration) *PutEndpointIDParams {
	o.SetTimeout(timeout)
	return o
}
1117227
func (o *ListOAuth2ClientsParams) WithTimeout(timeout time.Duration) *ListOAuth2ClientsParams {
	o.SetTimeout(timeout)
	return o
}
296629
func ReceiveWithTimeout(c Conn, timeout time.Duration) (interface{}, error) {
	cwt, ok := c.(ConnWithTimeout)
	if !ok {
		return nil, errTimeoutNotSupported
	}
	return cwt.ReceiveWithTimeout(timeout)
}
1124949
func (o *CreateTaskParams) WithTimeout(timeout time.Duration) *CreateTaskParams {
	o.SetTimeout(timeout)
	return o
}
1176803
func (o *RejectLoginRequestParams) WithTimeout(timeout time.Duration) *RejectLoginRequestParams {
	o.SetTimeout(timeout)
	return o
}
808580
func WithConnectionTimeout(timeout time.Duration) opt {
	return func(t *HttpTunnel) {
		t.parentDialer.Timeout = timeout
	}
}
549116
func (db *Conn) WithTimeout(d time.Duration) *Conn {
	return newConn(db.ctx, db.baseDB.WithTimeout(d))
}
258181
func (o *PetUploadImageParams) WithTimeout(timeout time.Duration) *PetUploadImageParams {
	o.SetTimeout(timeout)
	return o
}
127066
func (o *ListSubjectConsentSessionsParams) WithTimeout(timeout time.Duration) *ListSubjectConsentSessionsParams {
	o.SetTimeout(timeout)
	return o
}
64472
func (o *UpdateOneParams) WithTimeout(timeout time.Duration) *UpdateOneParams {
	o.SetTimeout(timeout)
	return o
}
741651
func WithTimeout(timeout string) ClientOptionFunc {
	return func(c *Client) error {
		if timeout == "" {
			c.sessionTimeout = DefaultSessionTimeout
			return nil
		}

		t, err := time.ParseDuration(timeout)
		if err != nil {
			return client.InvalidTimeoutError{Timeout: timeout}
		}
		c.sessionTimeout = t
		return nil
	}
}
868686
func (o *RevokeAuthenticationSessionParams) WithTimeout(timeout time.Duration) *RevokeAuthenticationSessionParams {
	o.SetTimeout(timeout)
	return o
}
1190455
func (o *GetEndpointIDLabelsParams) WithTimeout(timeout time.Duration) *GetEndpointIDLabelsParams {
	o.SetTimeout(timeout)
	return o
}
1106485
func WithRequestTimeout(t time.Duration) func(*RequestOpts) {
	return func(o *RequestOpts) {
		o.Timeout = t
	}
}
858590
func (o *CreateJSONWebKeySetParams) WithTimeout(timeout time.Duration) *CreateJSONWebKeySetParams {
	o.SetTimeout(timeout)
	return o
}