pub enum ReloadOutcome {
Unchanged,
Reloaded {
routes: usize,
warnings: Vec<String>,
},
}Expand description
What a successful ConfigDrivenApp::reload_from_str changed.
Variants§
Unchanged
The configuration text is unchanged; nothing was rebuilt.
Reloaded
New routes are live. warnings includes [[tcp_proxy]] /
[[udp_proxy]] / [[ws_proxy]] changes, which need a restart.
Trait Implementations§
Source§impl Clone for ReloadOutcome
impl Clone for ReloadOutcome
Source§impl Debug for ReloadOutcome
impl Debug for ReloadOutcome
Source§impl PartialEq for ReloadOutcome
impl PartialEq for ReloadOutcome
impl StructuralPartialEq for ReloadOutcome
Auto Trait Implementations§
impl Freeze for ReloadOutcome
impl RefUnwindSafe for ReloadOutcome
impl Send for ReloadOutcome
impl Sync for ReloadOutcome
impl Unpin for ReloadOutcome
impl UnsafeUnpin for ReloadOutcome
impl UnwindSafe for ReloadOutcome
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