pub enum EnsureOutcome {
Reused,
Built {
installed_requirements: bool,
},
SharedUpdate {
installed_requirements: bool,
},
}Expand description
Outcome of a VenvManager::ensure call.
Variants§
Reused
The cached venv was reused — no rebuild, no reinstall.
Built
The venv was created (or recreated) and requirements installed.
Fields
This plugin’s own cache signals were stale, but another plugin already owns the shared venv directory, so it was updated in place rather than deleted and recreated.
Distinct from Built because the venv was not recreated: the
interpreter another plugin’s worker is running out of is the same one as
before. Distinct from Reused because an install may have run.
Trait Implementations§
Source§impl Clone for EnsureOutcome
impl Clone for EnsureOutcome
Source§impl Debug for EnsureOutcome
impl Debug for EnsureOutcome
impl Eq for EnsureOutcome
Source§impl PartialEq for EnsureOutcome
impl PartialEq for EnsureOutcome
impl StructuralPartialEq for EnsureOutcome
Auto Trait Implementations§
impl Freeze for EnsureOutcome
impl RefUnwindSafe for EnsureOutcome
impl Send for EnsureOutcome
impl Sync for EnsureOutcome
impl Unpin for EnsureOutcome
impl UnsafeUnpin for EnsureOutcome
impl UnwindSafe for EnsureOutcome
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.