pub enum WorktreeAccess {
ReadOnly,
ReadWrite,
}Expand description
How the analyzed worktree was exposed to the analyzer.
Variants§
ReadOnly
Read-only: analyzers parse source, manifests and lockfiles; none of them needs to write to the tree.
ReadWrite
Writable — recorded for honesty if a future analyzer ever needs it.
Trait Implementations§
Source§impl Clone for WorktreeAccess
impl Clone for WorktreeAccess
Source§fn clone(&self) -> WorktreeAccess
fn clone(&self) -> WorktreeAccess
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 WorktreeAccess
Source§impl Debug for WorktreeAccess
impl Debug for WorktreeAccess
Source§impl Default for WorktreeAccess
impl Default for WorktreeAccess
Source§fn default() -> WorktreeAccess
fn default() -> WorktreeAccess
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorktreeAccess
impl<'de> Deserialize<'de> for WorktreeAccess
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorktreeAccess
Source§impl PartialEq for WorktreeAccess
impl PartialEq for WorktreeAccess
Source§impl Serialize for WorktreeAccess
impl Serialize for WorktreeAccess
impl StructuralPartialEq for WorktreeAccess
Auto Trait Implementations§
impl Freeze for WorktreeAccess
impl RefUnwindSafe for WorktreeAccess
impl Send for WorktreeAccess
impl Sync for WorktreeAccess
impl Unpin for WorktreeAccess
impl UnsafeUnpin for WorktreeAccess
impl UnwindSafe for WorktreeAccess
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.