pub struct ReloadState {
pub generation: u64,
pub last_reload_error: Option<String>,
pub config_limits_error: Option<String>,
pub pending_cold_restart: Vec<String>,
}Expand description
What a running agent last did with its profile.yaml.
Fields§
§generation: u64Successful reloads since boot.
last_reload_error: Option<String>Why the newest profile.yaml on disk is not the one being served.
config_limits_error: Option<String>Same, for the global limits scope (limits/global.yaml, or the legacy
config.yaml limits: block before #1794). The field keeps its name so
doctor still reads state written by an agent started before the move.
pending_cold_restart: Vec<String>Changed paths that only take effect after mur agent restart.
Implementations§
Trait Implementations§
Source§impl Clone for ReloadState
impl Clone for ReloadState
Source§impl Debug for ReloadState
impl Debug for ReloadState
Source§impl Default for ReloadState
impl Default for ReloadState
Source§impl<'de> Deserialize<'de> for ReloadState
impl<'de> Deserialize<'de> for ReloadState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReloadState
Source§impl PartialEq for ReloadState
impl PartialEq for ReloadState
Source§impl Serialize for ReloadState
impl Serialize for ReloadState
impl StructuralPartialEq for ReloadState
Auto Trait Implementations§
impl Freeze for ReloadState
impl RefUnwindSafe for ReloadState
impl Send for ReloadState
impl Sync for ReloadState
impl Unpin for ReloadState
impl UnsafeUnpin for ReloadState
impl UnwindSafe for ReloadState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.