#[non_exhaustive]pub enum RootSettingKey {
Show 14 variants
ListenerIpAddress,
ListenerPort,
ServiceFallbackRespondDir,
ServiceStrategy,
TlsEnabled,
TlsCertFile,
TlsKeyFile,
LogLevel,
LogFile,
LogFormat,
FileTreeShowHidden,
FileTreeBuiltinExcludes,
FileTreeExtraExcludes,
FileTreeInclude,
}Expand description
Enumerated root-level setting. Typed enum rather than free-form path so the apply-layer can exhaustively match without parsing.
§RFC 003 — TLS and Log variants
Seven new variants cover TLS configuration and log settings.
Changes to TLS and listener fields require a full process restart
(HardRestart); log-level and strategy changes only need a soft
config reload (SoftReload).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ListenerIpAddress
ListenerPort
ServiceFallbackRespondDir
ServiceStrategy
TlsEnabled
TlsCertFile
TlsKeyFile
LogLevel
LogFile
LogFormat
FileTreeShowHidden
FileTreeBuiltinExcludes
FileTreeExtraExcludes
Value: EditValue::StringList
FileTreeInclude
Value: EditValue::StringList
Trait Implementations§
Source§impl Clone for RootSettingKey
impl Clone for RootSettingKey
Source§fn clone(&self) -> RootSettingKey
fn clone(&self) -> RootSettingKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RootSettingKey
impl Debug for RootSettingKey
impl Copy for RootSettingKey
Auto Trait Implementations§
impl Freeze for RootSettingKey
impl RefUnwindSafe for RootSettingKey
impl Send for RootSettingKey
impl Sync for RootSettingKey
impl Unpin for RootSettingKey
impl UnsafeUnpin for RootSettingKey
impl UnwindSafe for RootSettingKey
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