pub struct StorageSection {
pub backend: String,
}Expand description
S5.1: storage / retrieval backend configuration.
Controls which RetrievalBackend implementation is used for memory
candidate generation. The broker (scoring, floors, rerank, compression)
is backend-agnostic and is NOT affected by this setting.
#[serde(default)] keeps every pre-S5 project.toml loading cleanly
(they get backend = "flat", which is exactly today’s FTS + usearch-ANN
behaviour).
Fields§
§backend: StringWhich retrieval backend to use.
| Value | Behaviour |
|---|---|
"flat" | FTS + usearch HNSW ANN (current, default) |
"graph-lite" | TODO (S5.2): graph-augmented FTS + ANN |
"graph" | TODO (future): full graph traversal |
Unknown values fall back to "flat" with a warning.
Trait Implementations§
Source§impl Clone for StorageSection
impl Clone for StorageSection
Source§fn clone(&self) -> StorageSection
fn clone(&self) -> StorageSection
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 StorageSection
impl Debug for StorageSection
Source§impl Default for StorageSection
impl Default for StorageSection
Source§impl<'de> Deserialize<'de> for StorageSection
impl<'de> Deserialize<'de> for StorageSection
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
Auto Trait Implementations§
impl Freeze for StorageSection
impl RefUnwindSafe for StorageSection
impl Send for StorageSection
impl Sync for StorageSection
impl Unpin for StorageSection
impl UnsafeUnpin for StorageSection
impl UnwindSafe for StorageSection
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