pub enum SubstateChange<'v> {
Upsert(&'v DbSubstateValue),
Delete,
}
Expand description
A change applied to a Substate - see PartitionDatabaseUpdates::get_substate_change
.
Technically, this is a 1:1 counterpart of DatabaseUpdate
, but operating on references.
Variants§
Upsert(&'v DbSubstateValue)
Delete
Auto Trait Implementations§
impl<'v> Freeze for SubstateChange<'v>
impl<'v> RefUnwindSafe for SubstateChange<'v>
impl<'v> Send for SubstateChange<'v>
impl<'v> Sync for SubstateChange<'v>
impl<'v> Unpin for SubstateChange<'v>
impl<'v> UnwindSafe for SubstateChange<'v>
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