pub enum GlobalToLocalCopy {
Allow,
Disallow,
}Variants§
Allow
When using a local cache (vendor folder), allow the cache to copy from the global cache into the local one.
Disallow
Disallow copying from the global to the local cache. This is useful for the LSP because we want to ensure that checksums are evaluated for JSR dependencies, which is difficult to do in the LSP. This could be improved in the future to not require this
Implementations§
Trait Implementations§
Source§impl Clone for GlobalToLocalCopy
impl Clone for GlobalToLocalCopy
Source§fn clone(&self) -> GlobalToLocalCopy
fn clone(&self) -> GlobalToLocalCopy
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 GlobalToLocalCopy
impl Debug for GlobalToLocalCopy
Source§impl PartialEq for GlobalToLocalCopy
impl PartialEq for GlobalToLocalCopy
impl Copy for GlobalToLocalCopy
impl Eq for GlobalToLocalCopy
impl StructuralPartialEq for GlobalToLocalCopy
Auto Trait Implementations§
impl Freeze for GlobalToLocalCopy
impl RefUnwindSafe for GlobalToLocalCopy
impl Send for GlobalToLocalCopy
impl Sync for GlobalToLocalCopy
impl Unpin for GlobalToLocalCopy
impl UnwindSafe for GlobalToLocalCopy
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.