pub enum MemoryBackend {
Cloud,
Local,
Both,
}Expand description
Where a memory context lives.
Cloud— the agent-cloud store (Postgres + pgvector), shared across devices and instances.Local— the on-device aria memo store (SQLite), works offline.Both— write to both, read merged (seeCompositeContextStore).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MemoryBackend
impl Clone for MemoryBackend
Source§fn clone(&self) -> MemoryBackend
fn clone(&self) -> MemoryBackend
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 moreimpl Copy for MemoryBackend
Source§impl Debug for MemoryBackend
impl Debug for MemoryBackend
Source§impl Default for MemoryBackend
impl Default for MemoryBackend
Source§fn default() -> MemoryBackend
fn default() -> MemoryBackend
Returns the “default value” for a type. Read more
Source§impl Display for MemoryBackend
impl Display for MemoryBackend
impl Eq for MemoryBackend
Source§impl FromStr for MemoryBackend
impl FromStr for MemoryBackend
Source§impl PartialEq for MemoryBackend
impl PartialEq for MemoryBackend
impl StructuralPartialEq for MemoryBackend
Auto Trait Implementations§
impl Freeze for MemoryBackend
impl RefUnwindSafe for MemoryBackend
impl Send for MemoryBackend
impl Sync for MemoryBackend
impl Unpin for MemoryBackend
impl UnsafeUnpin for MemoryBackend
impl UnwindSafe for MemoryBackend
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