pub struct HandoffSuccessor {
pub turns: u32,
pub reread_files: u32,
pub questions: u32,
pub corrections: u32,
}Expand description
How the successor’s first ten turns went, which is what says whether the handoff fired too early (a successor re-reading everything) or too late (a compaction firing first).
Fields§
§turns: u32Turns counted before the measurement settled.
reread_files: u32Files the successor read that its predecessor had already read.
questions: u32Questions the successor asked.
corrections: u32User messages that corrected or repeated an instruction.
Trait Implementations§
Source§impl Clone for HandoffSuccessor
impl Clone for HandoffSuccessor
impl Copy for HandoffSuccessor
Source§impl Debug for HandoffSuccessor
impl Debug for HandoffSuccessor
Source§impl Default for HandoffSuccessor
impl Default for HandoffSuccessor
Source§impl<'de> Deserialize<'de> for HandoffSuccessor
impl<'de> Deserialize<'de> for HandoffSuccessor
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 HandoffSuccessor
Source§impl PartialEq for HandoffSuccessor
impl PartialEq for HandoffSuccessor
Source§impl Serialize for HandoffSuccessor
impl Serialize for HandoffSuccessor
impl StructuralPartialEq for HandoffSuccessor
Auto Trait Implementations§
impl Freeze for HandoffSuccessor
impl RefUnwindSafe for HandoffSuccessor
impl Send for HandoffSuccessor
impl Sync for HandoffSuccessor
impl Unpin for HandoffSuccessor
impl UnsafeUnpin for HandoffSuccessor
impl UnwindSafe for HandoffSuccessor
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.