Enum sp_database::Change
source · pub enum Change<H> {
Set(ColumnId, Vec<u8>, Vec<u8>),
Remove(ColumnId, Vec<u8>),
Store(ColumnId, H, Vec<u8>),
Reference(ColumnId, H),
Release(ColumnId, H),
}
Expand description
An alteration to the database.
Variants§
Set(ColumnId, Vec<u8>, Vec<u8>)
Remove(ColumnId, Vec<u8>)
Store(ColumnId, H, Vec<u8>)
Reference(ColumnId, H)
Release(ColumnId, H)
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for Change<H>where
H: Freeze,
impl<H> RefUnwindSafe for Change<H>where
H: RefUnwindSafe,
impl<H> Send for Change<H>where
H: Send,
impl<H> Sync for Change<H>where
H: Sync,
impl<H> Unpin for Change<H>where
H: Unpin,
impl<H> UnwindSafe for Change<H>where
H: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)