pub enum HighPriCommand {
AssertEdge {
edge: EdgeAssertion,
responder: Sender<Result<()>>,
},
RetireEdge {
source: String,
target: String,
edge_type: String,
valid_from: String,
valid_to: String,
responder: Sender<Result<()>>,
},
UpsertConcept {
concept: ConceptUpsert,
responder: Sender<Result<()>>,
},
WriteBulkAtomic {
edges: Vec<EdgeAssertion>,
responder: Sender<Result<usize>>,
},
RebuildCurrent {
responder: Sender<Result<RebuildReport>>,
},
RegisterModel {
model: ModelName,
dim: usize,
responder: Sender<Result<()>>,
},
Shutdown {
responder: Sender<Result<()>>,
},
}Expand description
Commands sent to the Write Actor on the high-priority channel (UI-driven work).
Variants§
AssertEdge
RetireEdge
Fields
UpsertConcept
WriteBulkAtomic
RebuildCurrent
Fields
§
responder: Sender<Result<RebuildReport>>RegisterModel
Create a model’s embedding table and its DiskANN index (D-037, D-048).
High priority despite being setup work: it is one small transaction, and every embedding write for the model blocks on it, so queueing it behind a bulk job would stall the thing it gates.
Shutdown
Auto Trait Implementations§
impl !RefUnwindSafe for HighPriCommand
impl !UnwindSafe for HighPriCommand
impl Freeze for HighPriCommand
impl Send for HighPriCommand
impl Sync for HighPriCommand
impl Unpin for HighPriCommand
impl UnsafeUnpin for HighPriCommand
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request