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§fn clone(&self) -> KnowledgeSweep
fn clone(&self) -> KnowledgeSweep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnowledgeSweep
impl Debug for KnowledgeSweep
Source§impl Default for KnowledgeSweep
impl Default for KnowledgeSweep
Source§fn default() -> KnowledgeSweep
fn default() -> KnowledgeSweep
Returns the “default value” for a type. Read more
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