Struct hyper_simple_server::ConfigurationArguments [−][src]
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>
endpoint_native_tls_certificate_pkcs12_path: Option<String>
endpoint_native_tls_certificate_pkcs12_password: Option<String>
endpoint_native_tls_certificate_pkcs12_path_help: String
endpoint_native_tls_certificate_fallback: Option<NativeTlsCertificate>
Implementations
impl ConfigurationArguments
[src]
pub fn with_defaults(_configuration: &Configuration) -> Self
[src]
pub fn prepare<'a>(&'a mut self, _parser: &mut ArgumentParser<'a>)
[src]
pub fn update(&self, _configuration: &mut Configuration) -> ServerResult
[src]
pub fn parse(&mut self) -> ServerResult
[src]
pub fn parse_and_update(_configuration: &mut Configuration) -> ServerResult
[src]
Trait Implementations
impl Default for ConfigurationArguments
[src]
fn default() -> ConfigurationArguments
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConfigurationArguments
[src]
impl Send for ConfigurationArguments
[src]
impl Sync for ConfigurationArguments
[src]
impl Unpin for ConfigurationArguments
[src]
impl !UnwindSafe for ConfigurationArguments
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,