pub struct InMemoryDealLedger { /* private fields */ }Expand description
In-memory implementation. Production deployments swap in a disk-backed ledger (sled, redb, or DuckDB). Same trait so the host code is implementation-agnostic.
Implementations§
Trait Implementations§
Source§impl DealLedger for InMemoryDealLedger
impl DealLedger for InMemoryDealLedger
Source§impl Default for InMemoryDealLedger
impl Default for InMemoryDealLedger
Source§fn default() -> InMemoryDealLedger
fn default() -> InMemoryDealLedger
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryDealLedger
impl RefUnwindSafe for InMemoryDealLedger
impl Send for InMemoryDealLedger
impl Sync for InMemoryDealLedger
impl Unpin for InMemoryDealLedger
impl UnsafeUnpin for InMemoryDealLedger
impl UnwindSafe for InMemoryDealLedger
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