#[non_exhaustive]pub enum FileHazardKind {
Ignored,
Untracked,
PolicyExcluded,
}Expand description
Why a local path is hazardous for a target-tree write.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FileHazardKind
impl Clone for FileHazardKind
Source§fn clone(&self) -> FileHazardKind
fn clone(&self) -> FileHazardKind
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 moreSource§impl Debug for FileHazardKind
impl Debug for FileHazardKind
Source§impl<'de> Deserialize<'de> for FileHazardKind
impl<'de> Deserialize<'de> for FileHazardKind
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 FileHazardKind
Source§impl PartialEq for FileHazardKind
impl PartialEq for FileHazardKind
Source§fn eq(&self, other: &FileHazardKind) -> bool
fn eq(&self, other: &FileHazardKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileHazardKind
impl Serialize for FileHazardKind
impl StructuralPartialEq for FileHazardKind
Auto Trait Implementations§
impl Freeze for FileHazardKind
impl RefUnwindSafe for FileHazardKind
impl Send for FileHazardKind
impl Sync for FileHazardKind
impl Unpin for FileHazardKind
impl UnsafeUnpin for FileHazardKind
impl UnwindSafe for FileHazardKind
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