pub enum UpdateDescription {
AutoUpdate,
SnapshotBased(Vec<u8>),
}
Variants§
AutoUpdate
Automatic update by replaying the oplog on the new version
SnapshotBased(Vec<u8>)
Custom update by loading a given snapshot on the new version
Trait Implementations§
Source§impl Clone for UpdateDescription
impl Clone for UpdateDescription
Source§fn clone(&self) -> UpdateDescription
fn clone(&self) -> UpdateDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateDescription
impl RefUnwindSafe for UpdateDescription
impl Send for UpdateDescription
impl Sync for UpdateDescription
impl Unpin for UpdateDescription
impl UnwindSafe for UpdateDescription
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