pub enum CountBrake {
Grew {
grew: u64,
kept: u64,
until: u64,
},
Restarted {
until: u64,
},
Guard {
until: Option<u64>,
},
Unknown,
}Expand description
Why the growth count rests (ADR 0130).
Variants§
Grew
What ran grew past the room kept within GROWTH_WINDOW.
Fields
Restarted
The daemon started, or a reload changed what the count reads, too recently to judge growth.
Guard
The host is under the guard’s line, or a reading is missing, now or at a look within 5 minutes.
Fields
Unknown
A brake a newer daemon names; this client shows only that the count rests.
Trait Implementations§
Source§impl Clone for CountBrake
impl Clone for CountBrake
impl Copy for CountBrake
Source§impl Debug for CountBrake
impl Debug for CountBrake
Source§impl<'de> Deserialize<'de> for CountBrake
impl<'de> Deserialize<'de> for CountBrake
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 CountBrake
Source§impl PartialEq for CountBrake
impl PartialEq for CountBrake
Source§impl Serialize for CountBrake
impl Serialize for CountBrake
impl StructuralPartialEq for CountBrake
Auto Trait Implementations§
impl Forget for CountBrake
impl Freeze for CountBrake
impl RefUnwindSafe for CountBrake
impl Send for CountBrake
impl Sync for CountBrake
impl Unpin for CountBrake
impl UnsafeUnpin for CountBrake
impl UnwindSafe for CountBrake
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,
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.