pub struct DerivedTableAdapter<'a> { /* private fields */ }Expand description
Adapter that stores one versioned graph record in an ordinary SIM Table.
The adapter deliberately uses only Table operations and ordinary Expr
data. Durability, transactions, and host effects remain properties of the
selected backend.
Implementations§
Source§impl<'a> DerivedTableAdapter<'a>
impl<'a> DerivedTableAdapter<'a>
Sourcepub fn new(table: &'a dyn Table, cx: &'a mut Cx) -> Self
pub fn new(table: &'a dyn Table, cx: &'a mut Cx) -> Self
Targets DERIVED_SNAPSHOT_KEY in table.
Sourcepub fn with_key(table: &'a dyn Table, cx: &'a mut Cx, key: Symbol) -> Self
pub fn with_key(table: &'a dyn Table, cx: &'a mut Cx, key: Symbol) -> Self
Targets an explicit Table key.
Sourcepub fn delete(&mut self) -> Result<(), DerivedSnapshotError>
pub fn delete(&mut self) -> Result<(), DerivedSnapshotError>
Deletes the rebuildable graph record, if present.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DerivedTableAdapter<'a>
impl<'a> !UnwindSafe for DerivedTableAdapter<'a>
impl<'a> Freeze for DerivedTableAdapter<'a>
impl<'a> Send for DerivedTableAdapter<'a>
impl<'a> Sync for DerivedTableAdapter<'a>
impl<'a> Unpin for DerivedTableAdapter<'a>
impl<'a> UnsafeUnpin for DerivedTableAdapter<'a>
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