Enum sp_database::Change
source · [−]pub enum Change<H> {
Set(ColumnId, Vec<u8>, Vec<u8>),
Remove(ColumnId, Vec<u8>),
Store(H, Vec<u8>),
Release(H),
}
Expand description
An alteration to the database.
Variants
Set(ColumnId, Vec<u8>, Vec<u8>)
Remove(ColumnId, Vec<u8>)
Store(H, Vec<u8>)
Release(H)
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more