Struct Options

Source
pub struct Options {
Show 122 fields pub allow: String, pub capture_directory: String, pub capture_on_error: StringBool, pub capture_packets: StringBool, pub capture_requests: StringBool, pub capture_responses: StringBool, pub capture_sockets: StringBool, pub cause: String, pub certificate_file: String, pub checkpoint: StringInt, pub child: StringBool, pub client_subtype: String, pub client_threads: StringInt, pub client_type: String, pub command_address: String, pub command_allow_no_pass: String, pub deny: String, pub command_deny_no_pass: String, pub command_enable: StringBool, pub command_port: StringInt, pub config_rotate: StringBool, pub config_rotate_dir: String, pub config_rotate_max: StringInt, pub connection_timeout: StringInt, pub core_priority: String, pub cpu_species: String, pub cpu_type: String, pub cpu_usage: StringInt, pub cpus: StringInt, pub crl_file: String, pub cuda_index: String, pub cycle_rate: StringInt, pub cycles: StringInt, pub daemon: StringBool, pub debug_sockets: StringBool, pub disable_sleep_when_active: StringBool, pub disable_viz: StringBool, pub dump_after_deadline: StringBool, pub exception_locations: StringBool, pub exit_when_done: StringBool, pub extra_core_args: String, pub fold_anon: String, pub gpu: String, pub gpu_index: String, pub gpu_usage: StringInt, pub gui_enabled: String, pub http_addresses: String, pub https_addresses: String, pub idle: StringBool, pub log: String, pub log_color: StringBool, pub log_crlf: StringBool, pub log_date: StringBool, pub log_date_periodically: StringInt, pub log_domain: StringBool, pub log_domain_levels: String, pub log_header: StringBool, pub log_level: StringBool, pub log_no_info_header: StringBool, pub log_redirect: StringBool, pub log_rotate: StringBool, pub log_rotate_dir: String, pub log_rotate_max: StringInt, pub log_short_level: StringBool, pub log_simple_domains: StringBool, pub log_thread_id: StringBool, pub log_thread_prefix: StringBool, pub log_time: StringBool, pub log_to_screen: StringBool, pub log_truncate: StringBool, pub machine_id: StringInt, pub max_connect_time: StringInt, pub max_connections: StringInt, pub max_packet_size: String, pub max_queue: StringInt, pub max_request_length: StringInt, pub max_shutdown_wait: StringInt, pub max_slot_errors: StringInt, pub max_unit_errors: StringInt, pub max_units: StringInt, pub memory: String, pub min_connect_time: StringInt, pub next_unit_percentage: StringInt, pub priority: String, pub no_assembly: StringBool, pub open_web_control: StringBool, pub opencl_index: String, pub os_species: String, pub os_type: String, pub passkey: String, pub password: String, pub pause_on_battery: StringBool, pub pause_on_start: StringBool, pub paused: StringBool, pub pid: StringBool, pub pid_file: String, pub power: Power, pub private_key_file: String, pub project_key: StringInt, pub proxy: String, pub proxy_enable: StringBool, pub proxy_pass: String, pub proxy_user: String, pub respawn: StringBool, pub service: StringBool, pub service_description: String, pub service_restart: StringBool, pub service_restart_delay: StringInt, pub session_cookie: String, pub session_lifetime: StringInt, pub session_timeout: StringInt, pub smp: StringBool, pub stack_traces: StringBool, pub stall_detection_enabled: StringBool, pub stall_percent: StringInt, pub stall_timeout: StringInt, pub team: StringInt, pub user: String, pub verbosity: StringInt, pub web_allow: String, pub web_deny: String, pub web_enable: StringBool,
}

Fields§

§allow: String§capture_directory: String§capture_on_error: StringBool§capture_packets: StringBool§capture_requests: StringBool§capture_responses: StringBool§capture_sockets: StringBool§cause: String§certificate_file: String§checkpoint: StringInt§child: StringBool§client_subtype: String§client_threads: StringInt§client_type: String§command_address: String§command_allow_no_pass: String§deny: String§command_deny_no_pass: String§command_enable: StringBool§command_port: StringInt§config_rotate: StringBool§config_rotate_dir: String§config_rotate_max: StringInt§connection_timeout: StringInt§core_priority: String§cpu_species: String§cpu_type: String§cpu_usage: StringInt§cpus: StringInt§crl_file: String§cuda_index: String§cycle_rate: StringInt§cycles: StringInt§daemon: StringBool§debug_sockets: StringBool§disable_sleep_when_active: StringBool§disable_viz: StringBool§dump_after_deadline: StringBool§exception_locations: StringBool§exit_when_done: StringBool§extra_core_args: String§fold_anon: String§gpu: String§gpu_index: String§gpu_usage: StringInt§gui_enabled: String§http_addresses: String§https_addresses: String§idle: StringBool§log: String§log_color: StringBool§log_crlf: StringBool§log_date: StringBool§log_date_periodically: StringInt§log_domain: StringBool§log_domain_levels: String§log_header: StringBool§log_level: StringBool§log_no_info_header: StringBool§log_redirect: StringBool§log_rotate: StringBool§log_rotate_dir: String§log_rotate_max: StringInt§log_short_level: StringBool§log_simple_domains: StringBool§log_thread_id: StringBool§log_thread_prefix: StringBool§log_time: StringBool§log_to_screen: StringBool§log_truncate: StringBool§machine_id: StringInt§max_connect_time: StringInt§max_connections: StringInt§max_packet_size: String§max_queue: StringInt§max_request_length: StringInt§max_shutdown_wait: StringInt§max_slot_errors: StringInt§max_unit_errors: StringInt§max_units: StringInt§memory: String§min_connect_time: StringInt§next_unit_percentage: StringInt§priority: String§no_assembly: StringBool§open_web_control: StringBool§opencl_index: String§os_species: String§os_type: String§passkey: String§password: String§pause_on_battery: StringBool§pause_on_start: StringBool§paused: StringBool§pid: StringBool§pid_file: String§power: Power§private_key_file: String§project_key: StringInt§proxy: String§proxy_enable: StringBool§proxy_pass: String§proxy_user: String§respawn: StringBool§service: StringBool§service_description: String§service_restart: StringBool§service_restart_delay: StringInt§session_cookie: String§session_lifetime: StringInt§session_timeout: StringInt§smp: StringBool§stack_traces: StringBool§stall_detection_enabled: StringBool§stall_percent: StringInt§stall_timeout: StringInt§team: StringInt§user: String§verbosity: StringInt§web_allow: String§web_deny: String§web_enable: StringBool

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

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

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

impl Default for Options

Source§

fn default() -> Options

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

impl<'de> Deserialize<'de> for Options

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Hash for Options

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Options

Source§

fn eq(&self, other: &Options) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for Options

Source§

impl StructuralPartialEq for Options

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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,