pub enum Unlock {
Nothing,
All,
One(String),
}Expand description
What a resolution may change (spec §4.4).
Variants§
Nothing
Keep every locked version that still fits. When they cannot all stay, resolve again as if there were no lock.
All
nova update: ignore the lock.
One(String)
nova update <name>: only that name may move.
Trait Implementations§
impl Eq for Unlock
impl StructuralPartialEq for Unlock
Auto Trait Implementations§
impl Freeze for Unlock
impl RefUnwindSafe for Unlock
impl Send for Unlock
impl Sync for Unlock
impl Unpin for Unlock
impl UnsafeUnpin for Unlock
impl UnwindSafe for Unlock
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.