pub struct KnowledgeSweep {
pub removed_keys: Vec<String>,
pub tokens_freed: u32,
pub changed: bool,
}Expand description
Outcome of one boundary sweep, for the KnowledgeSwept kernel observation.
Fields§
§removed_keys: Vec<String>§tokens_freed: u32§changed: boolTrue when the sweep changed anything (removal OR applied upsert).
Trait Implementations§
Source§impl Clone for KnowledgeSweep
impl Clone for KnowledgeSweep
Source§impl Debug for KnowledgeSweep
impl Debug for KnowledgeSweep
Auto Trait Implementations§
impl Freeze for KnowledgeSweep
impl RefUnwindSafe for KnowledgeSweep
impl Send for KnowledgeSweep
impl Sync for KnowledgeSweep
impl Unpin for KnowledgeSweep
impl UnsafeUnpin for KnowledgeSweep
impl UnwindSafe for KnowledgeSweep
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