#[non_exhaustive]pub enum RootSettingKey {
ListenerIpAddress,
ListenerPort,
ServiceFallbackRespondDir,
ServiceStrategy,
}Expand description
Enumerated root-level setting. Typed enum rather than free-form path so the apply-layer can exhaustively match without parsing.
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.
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 · 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