pub struct MemoryLifecycleDaemon { /* private fields */ }Expand description
Background daemon: enrichment drain, contradiction pre-filter, compaction.
Implementations§
Source§impl MemoryLifecycleDaemon
impl MemoryLifecycleDaemon
pub fn new(store: Arc<MemoryStore>, config: LifecycleConfig) -> Self
pub fn register_trigger(&self, trigger: SemanticTrigger)
pub fn start(&self, config: &LifecycleConfig)
pub fn stop(&self)
pub fn check_contradiction_candidates( &self, namespace: &str, new_fact_text: &str, threshold: f32, ) -> Vec<FactEdge>
Auto Trait Implementations§
impl !Freeze for MemoryLifecycleDaemon
impl !RefUnwindSafe for MemoryLifecycleDaemon
impl !UnwindSafe for MemoryLifecycleDaemon
impl Send for MemoryLifecycleDaemon
impl Sync for MemoryLifecycleDaemon
impl Unpin for MemoryLifecycleDaemon
impl UnsafeUnpin for MemoryLifecycleDaemon
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more