pub enum Rejected {
Missing,
Unanalyzable,
}Expand description
Why an explicitly named path produced no target.
Only named paths are ever rejected. A directory walk that yields nothing
is legitimately empty: drep check . in a documentation repository has
correctly found no code. A path the user typed is the opposite case, and
reporting “No issues found.” for it is the single failure this codebase is
built to prevent.
Variants§
Missing
Nothing exists at that path.
Unanalyzable
Something exists there, but this command cannot analyze it: the
predicate declined the file type, or the path is neither a regular file
nor a directory (a fifo, a socket, /dev/stdin).
Trait Implementations§
impl Copy for Rejected
impl Eq for Rejected
impl StructuralPartialEq for Rejected
Auto Trait Implementations§
impl Freeze for Rejected
impl RefUnwindSafe for Rejected
impl Send for Rejected
impl Sync for Rejected
impl Unpin for Rejected
impl UnsafeUnpin for Rejected
impl UnwindSafe for Rejected
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.