Skip to main content

params

Struct params 

Source
#[repr(C)]
pub struct params {
Show 120 fields pub accept_filter: c_uint, pub acceptor_sleep_decay: f64, pub acceptor_sleep_incr: vtim_dur, pub acceptor_sleep_max: vtim_dur, pub auto_restart: c_uint, pub ban_dups: c_uint, pub ban_cutoff: c_uint, pub ban_lurker_age: vtim_dur, pub ban_lurker_batch: c_uint, pub ban_lurker_sleep: vtim_dur, pub ban_lurker_holdoff: vtim_dur, pub first_byte_timeout: vtim_dur, pub between_bytes_timeout: vtim_dur, pub backend_idle_timeout: vtim_dur, pub backend_local_error_holddown: vtim_dur, pub backend_remote_error_holddown: vtim_dur, pub backend_wait_timeout: vtim_dur, pub backend_wait_limit: c_uint, pub cli_limit: c_uint, pub cli_timeout: vtim_dur, pub startup_timeout: vtim_dur, pub clock_skew: c_uint, pub clock_step: vtim_dur, pub connect_timeout: vtim_dur, pub critbit_cooloff: vtim_dur, pub default_grace: vtim_dur, pub default_keep: vtim_dur, pub default_ttl: vtim_dur, pub uncacheable_ttl: vtim_dur, pub http1_iovs: c_uint, pub fetch_chunksize: isize, pub fetch_maxchunksize: isize, pub gzip_buffer: c_uint, pub gzip_level: c_uint, pub gzip_memlevel: c_uint, pub http_gzip_support: c_uint, pub http_max_hdr: c_uint, pub http_range_support: c_uint, pub http_req_hdr_len: c_uint, pub http_req_size: c_uint, pub http_req_overflow_status: c_uint, pub http_resp_hdr_len: c_uint, pub http_resp_size: c_uint, pub idle_send_timeout: vtim_dur, pub listen_depth: c_uint, pub lru_interval: vtim_dur, pub ban_any_variant: c_uint, pub max_esi_depth: c_uint, pub max_restarts: c_uint, pub max_retries: c_uint, pub nuke_limit: c_uint, pub panic_buffer: c_uint, pub pcre2_jit_compilation: c_uint, pub ping_interval: c_uint, pub pipe_sess_max: c_uint, pub pipe_task_deadline: vtim_dur, pub pipe_timeout: vtim_dur, pub prefer_ipv6: c_uint, pub rush_exponent: c_uint, pub send_timeout: vtim_dur, pub shortlived: vtim_dur, pub sigsegv_handler: c_uint, pub syslog_cli_traffic: c_uint, pub tcp_fastopen: c_uint, pub tcp_keepalive_intvl: vtim_dur, pub tcp_keepalive_probes: c_uint, pub tcp_keepalive_time: vtim_dur, pub timeout_idle: vtim_dur, pub timeout_linger: vtim_dur, pub tls_handshake_timeout: vtim_dur, pub tls_ja3: c_uint, pub tls_cleanup_batch: c_uint, pub tls_err_dup_servername: c_uint, pub transit_buffer: isize, pub vary_notice: c_uint, pub vcl_cooldown: vtim_dur, pub max_vcl_handling: c_uint, pub max_vcl: c_uint, pub vsm_free_cooldown: vtim_dur, pub vsl_buffer: c_uint, pub vsl_reclen: c_uint, pub vsl_space: isize, pub workspace_backend: c_uint, pub workspace_client: c_uint, pub workspace_session: c_uint, pub workspace_thread: c_uint, pub h2_rx_window_low_water: c_uint, pub h2_rx_window_increment: c_uint, pub h2_window_timeout: vtim_dur, pub h2_header_table_size: c_uint, pub h2_max_concurrent_streams: c_uint, pub h2_initial_window_size: c_uint, pub h2_max_frame_size: c_uint, pub h2_max_header_list_size: c_uint, pub h2_rapid_reset: vtim_dur, pub h2_rapid_reset_limit: c_uint, pub h2_rapid_reset_period: vtim_dur, pub pool_req: poolparam, pub pool_sess: poolparam, pub pool_vbo: poolparam, pub sslbuf_pool: poolparam, pub ssl_buffer: c_uint, pub wthread_pools: c_uint, pub wthread_max: c_uint, pub wthread_min: c_uint, pub wthread_reserve: c_uint, pub wthread_timeout: vtim_dur, pub wthread_watchdog: vtim_dur, pub wthread_destroy_delay: vtim_dur, pub wthread_add_delay: vtim_dur, pub wthread_fail_delay: vtim_dur, pub wthread_stats_rate: c_uint, pub wthread_queue_limit: c_uint, pub wthread_stacksize: isize, pub debug_bits: debug_t, pub experimental_bits: experimental_t, pub feature_bits: feature_t, pub vcc_feature_bits: vcc_feature_t, pub vsl_mask: vsl_mask_t, pub vre_limits: vre_limits,
}

Fields§

§accept_filter: c_uint§acceptor_sleep_decay: f64§acceptor_sleep_incr: vtim_dur§acceptor_sleep_max: vtim_dur§auto_restart: c_uint§ban_dups: c_uint§ban_cutoff: c_uint§ban_lurker_age: vtim_dur§ban_lurker_batch: c_uint§ban_lurker_sleep: vtim_dur§ban_lurker_holdoff: vtim_dur§first_byte_timeout: vtim_dur§between_bytes_timeout: vtim_dur§backend_idle_timeout: vtim_dur§backend_local_error_holddown: vtim_dur§backend_remote_error_holddown: vtim_dur§backend_wait_timeout: vtim_dur§backend_wait_limit: c_uint§cli_limit: c_uint§cli_timeout: vtim_dur§startup_timeout: vtim_dur§clock_skew: c_uint§clock_step: vtim_dur§connect_timeout: vtim_dur§critbit_cooloff: vtim_dur§default_grace: vtim_dur§default_keep: vtim_dur§default_ttl: vtim_dur§uncacheable_ttl: vtim_dur§http1_iovs: c_uint§fetch_chunksize: isize§fetch_maxchunksize: isize§gzip_buffer: c_uint§gzip_level: c_uint§gzip_memlevel: c_uint§http_gzip_support: c_uint§http_max_hdr: c_uint§http_range_support: c_uint§http_req_hdr_len: c_uint§http_req_size: c_uint§http_req_overflow_status: c_uint§http_resp_hdr_len: c_uint§http_resp_size: c_uint§idle_send_timeout: vtim_dur§listen_depth: c_uint§lru_interval: vtim_dur§ban_any_variant: c_uint§max_esi_depth: c_uint§max_restarts: c_uint§max_retries: c_uint§nuke_limit: c_uint§panic_buffer: c_uint§pcre2_jit_compilation: c_uint§ping_interval: c_uint§pipe_sess_max: c_uint§pipe_task_deadline: vtim_dur§pipe_timeout: vtim_dur§prefer_ipv6: c_uint§rush_exponent: c_uint§send_timeout: vtim_dur§shortlived: vtim_dur§sigsegv_handler: c_uint§syslog_cli_traffic: c_uint§tcp_fastopen: c_uint§tcp_keepalive_intvl: vtim_dur§tcp_keepalive_probes: c_uint§tcp_keepalive_time: vtim_dur§timeout_idle: vtim_dur§timeout_linger: vtim_dur§tls_handshake_timeout: vtim_dur§tls_ja3: c_uint§tls_cleanup_batch: c_uint§tls_err_dup_servername: c_uint§transit_buffer: isize§vary_notice: c_uint§vcl_cooldown: vtim_dur§max_vcl_handling: c_uint§max_vcl: c_uint§vsm_free_cooldown: vtim_dur§vsl_buffer: c_uint§vsl_reclen: c_uint§vsl_space: isize§workspace_backend: c_uint§workspace_client: c_uint§workspace_session: c_uint§workspace_thread: c_uint§h2_rx_window_low_water: c_uint§h2_rx_window_increment: c_uint§h2_window_timeout: vtim_dur§h2_header_table_size: c_uint§h2_max_concurrent_streams: c_uint§h2_initial_window_size: c_uint§h2_max_frame_size: c_uint§h2_max_header_list_size: c_uint§h2_rapid_reset: vtim_dur§h2_rapid_reset_limit: c_uint§h2_rapid_reset_period: vtim_dur§pool_req: poolparam§pool_sess: poolparam§pool_vbo: poolparam§sslbuf_pool: poolparam§ssl_buffer: c_uint§wthread_pools: c_uint§wthread_max: c_uint§wthread_min: c_uint§wthread_reserve: c_uint§wthread_timeout: vtim_dur§wthread_watchdog: vtim_dur§wthread_destroy_delay: vtim_dur§wthread_add_delay: vtim_dur§wthread_fail_delay: vtim_dur§wthread_stats_rate: c_uint§wthread_queue_limit: c_uint§wthread_stacksize: isize§debug_bits: debug_t§experimental_bits: experimental_t§feature_bits: feature_t§vcc_feature_bits: vcc_feature_t§vsl_mask: vsl_mask_t§vre_limits: vre_limits

Trait Implementations§

Source§

impl Clone for params

Source§

fn clone(&self) -> params

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for params

Source§

impl Debug for params

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for params

Source§

fn default() -> params

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.