pub enum StartupPhase {
LoadConfig,
ValidateConfig,
ResolveTransport,
CheckTlsFiles,
BuildTlsContext,
BindListener,
StartServer,
}Expand description
Discrete phases of the server startup sequence.
Each phase maps to a single logical step. When a phase fails, the error identifies which phase produced the failure so operators can diagnose without guessing.
Variants§
LoadConfig
Loading and merging configuration sources.
ValidateConfig
Validating the merged configuration.
ResolveTransport
Resolving the transport mode (HTTP / TLS / mTLS).
CheckTlsFiles
Checking TLS file presence and readability.
BuildTlsContext
Building the rustls ServerConfig.
BindListener
Binding the TCP listener.
StartServer
Running the server after binding.
Trait Implementations§
Source§impl Clone for StartupPhase
impl Clone for StartupPhase
Source§fn clone(&self) -> StartupPhase
fn clone(&self) -> StartupPhase
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 StartupPhase
impl Debug for StartupPhase
Source§impl Display for StartupPhase
impl Display for StartupPhase
Source§impl PartialEq for StartupPhase
impl PartialEq for StartupPhase
impl Copy for StartupPhase
impl Eq for StartupPhase
impl StructuralPartialEq for StartupPhase
Auto Trait Implementations§
impl Freeze for StartupPhase
impl RefUnwindSafe for StartupPhase
impl Send for StartupPhase
impl Sync for StartupPhase
impl Unpin for StartupPhase
impl UnsafeUnpin for StartupPhase
impl UnwindSafe for StartupPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.