pub struct SqliteGeneStorePersistAdapter { /* private fields */ }Expand description
Implements GeneStorePersistPort using oris_genestore::SqliteGeneStore.
Convert oris-evolution’s string-typed Gene fields (signals/strategy/
validation) into the richer oris_genestore::Gene domain model, then
upsert into the SQLite store. The gene_id string is parsed as a UUID;
if it is not a valid UUID a new random one is generated.
Async store calls are bridged synchronously via a dedicated thread,
matching the pattern used by LocalSandboxAdapter.
Implementations§
Trait Implementations§
Source§impl GeneStorePersistPort for SqliteGeneStorePersistAdapter
impl GeneStorePersistPort for SqliteGeneStorePersistAdapter
Auto Trait Implementations§
impl Freeze for SqliteGeneStorePersistAdapter
impl RefUnwindSafe for SqliteGeneStorePersistAdapter
impl Send for SqliteGeneStorePersistAdapter
impl Sync for SqliteGeneStorePersistAdapter
impl Unpin for SqliteGeneStorePersistAdapter
impl UnsafeUnpin for SqliteGeneStorePersistAdapter
impl UnwindSafe for SqliteGeneStorePersistAdapter
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