pub struct ConfigurationArguments {Show 15 fields
pub endpoint_socket_address: Option<String>,
pub endpoint_socket_address_help: String,
pub endpoint_descriptor: Option<u32>,
pub endpoint_descriptor_help: String,
pub endpoint_protocol_http1: Option<bool>,
pub endpoint_protocol_http1_help: String,
pub endpoint_protocol_http2: Option<bool>,
pub endpoint_protocol_http2_help: String,
pub endpoint_insecure: Option<bool>,
pub endpoint_insecure_help: String,
pub endpoint_rust_tls_certificate_pem_path: Option<String>,
pub endpoint_rust_tls_certificate_pem_path_help: String,
pub endpoint_rust_tls_certificate_fallback: Option<RustTlsCertificate>,
pub server_threads: Option<usize>,
pub server_threads_help: String,
}
Fields§
§endpoint_socket_address: Option<String>
§endpoint_socket_address_help: String
§endpoint_descriptor: Option<u32>
§endpoint_descriptor_help: String
§endpoint_protocol_http1: Option<bool>
§endpoint_protocol_http1_help: String
§endpoint_protocol_http2: Option<bool>
§endpoint_protocol_http2_help: String
§endpoint_insecure: Option<bool>
§endpoint_insecure_help: String
§endpoint_rust_tls_certificate_pem_path: Option<String>
§endpoint_rust_tls_certificate_pem_path_help: String
§endpoint_rust_tls_certificate_fallback: Option<RustTlsCertificate>
§server_threads: Option<usize>
§server_threads_help: String
Implementations§
Source§impl ConfigurationArguments
impl ConfigurationArguments
pub fn with_defaults(_configuration: &Configuration) -> ServerResult<Self>
pub fn prepare<'a>(&'a mut self, _parser: &mut ArgumentParser<'a>)
pub fn update(&self, _configuration: &mut Configuration) -> ServerResult
pub fn parse( _configuration: Configuration, _arguments: Option<CliArguments>, ) -> ServerResult<Configuration>
pub fn parse_with_extensions( _configuration: Configuration, _extensions: impl CliExtensions, _arguments: Option<CliArguments>, ) -> ServerResult<Configuration>
Trait Implementations§
Source§impl Default for ConfigurationArguments
impl Default for ConfigurationArguments
Source§fn default() -> ConfigurationArguments
fn default() -> ConfigurationArguments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigurationArguments
impl !RefUnwindSafe for ConfigurationArguments
impl Send for ConfigurationArguments
impl Sync for ConfigurationArguments
impl Unpin for ConfigurationArguments
impl !UnwindSafe for ConfigurationArguments
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more