pub enum ProjectRootTransition {
Bind,
Move,
Detach,
}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.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectRootTransition
impl Debug for ProjectRootTransition
Source§impl PartialEq for ProjectRootTransition
impl PartialEq for ProjectRootTransition
impl Copy for ProjectRootTransition
impl Eq for ProjectRootTransition
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 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.§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
Checks if this value is equivalent to the given key. Read more