pub enum ProjectRootTransition {
Bind,
Move,
Detach,
AdoptLegacy,
}Expand description
Explicit root-binding behavior selected by a caller.
Variants§
Bind
Initialize a missing binding or verify an identical existing binding.
Move
Preserve identity while moving a database whose previous root is absent.
Detach
Rotate identity for an independent copy, clone, or worktree.
AdoptLegacy
Explicitly adopt the selected native root for an intact schema-19 database.
Trait Implementations§
Source§impl Clone for ProjectRootTransition
impl Clone for ProjectRootTransition
Source§fn clone(&self) -> ProjectRootTransition
fn clone(&self) -> ProjectRootTransition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectRootTransition
Source§impl Debug for ProjectRootTransition
impl Debug for ProjectRootTransition
impl Eq for ProjectRootTransition
Source§impl PartialEq for ProjectRootTransition
impl PartialEq for ProjectRootTransition
Source§fn eq(&self, other: &ProjectRootTransition) -> bool
fn eq(&self, other: &ProjectRootTransition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectRootTransition
Auto Trait Implementations§
impl Freeze for ProjectRootTransition
impl RefUnwindSafe for ProjectRootTransition
impl Send for ProjectRootTransition
impl Sync for ProjectRootTransition
impl Unpin for ProjectRootTransition
impl UnsafeUnpin for ProjectRootTransition
impl UnwindSafe for ProjectRootTransition
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.