pub enum ReloadHint {
None,
Reload,
Restart,
}Expand description
How much of the server needs to restart after a change.
A GUI can show this as a banner (“restart required”) and a supervisor can use it to decide between reload-in-place and full restart.
Variants§
None
No reload needed — change was purely cosmetic or to comments.
Reload
Rule-set / middleware reload is sufficient.
Restart
A full restart is needed (e.g. listener port changed).
Trait Implementations§
Source§impl Clone for ReloadHint
impl Clone for ReloadHint
Source§fn clone(&self) -> ReloadHint
fn clone(&self) -> ReloadHint
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 ReloadHint
impl Debug for ReloadHint
Source§impl Serialize for ReloadHint
impl Serialize for ReloadHint
impl Copy for ReloadHint
Auto Trait Implementations§
impl Freeze for ReloadHint
impl RefUnwindSafe for ReloadHint
impl Send for ReloadHint
impl Sync for ReloadHint
impl Unpin for ReloadHint
impl UnsafeUnpin for ReloadHint
impl UnwindSafe for ReloadHint
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