pub enum SecurityDeadCodeKind {
UnusedFile,
UnusedExport,
}Expand description
Dead-code issue kind linked to a security candidate.
Variants§
UnusedFile
The candidate’s anchor file is also reported as an unused file.
UnusedExport
The candidate’s anchor sits on an unused export declaration.
Trait Implementations§
Source§impl Clone for SecurityDeadCodeKind
impl Clone for SecurityDeadCodeKind
impl Copy for SecurityDeadCodeKind
Source§impl Debug for SecurityDeadCodeKind
impl Debug for SecurityDeadCodeKind
Source§impl<'de> Deserialize<'de> for SecurityDeadCodeKind
impl<'de> Deserialize<'de> for SecurityDeadCodeKind
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 SecurityDeadCodeKind
Source§impl PartialEq for SecurityDeadCodeKind
impl PartialEq for SecurityDeadCodeKind
Source§impl Serialize for SecurityDeadCodeKind
impl Serialize for SecurityDeadCodeKind
impl StructuralPartialEq for SecurityDeadCodeKind
Auto Trait Implementations§
impl Freeze for SecurityDeadCodeKind
impl RefUnwindSafe for SecurityDeadCodeKind
impl Send for SecurityDeadCodeKind
impl Sync for SecurityDeadCodeKind
impl Unpin for SecurityDeadCodeKind
impl UnsafeUnpin for SecurityDeadCodeKind
impl UnwindSafe for SecurityDeadCodeKind
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§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.