pub enum AccumulateTargetError {
Stdin,
InvalidPath,
UnknownExtension,
}Expand description
Why a target cannot be used for discovery.
Variants§
Stdin
Standard input cannot be discovered.
InvalidPath
Targets must be relative and must not traverse parents.
UnknownExtension
The target extension must select JSON or TOML.
Trait Implementations§
Source§impl Clone for AccumulateTargetError
impl Clone for AccumulateTargetError
Source§impl Debug for AccumulateTargetError
impl Debug for AccumulateTargetError
Source§impl Display for AccumulateTargetError
impl Display for AccumulateTargetError
impl Eq for AccumulateTargetError
Source§impl Error for AccumulateTargetError
impl Error for AccumulateTargetError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AccumulateTargetError
impl PartialEq for AccumulateTargetError
impl StructuralPartialEq for AccumulateTargetError
Auto Trait Implementations§
impl Freeze for AccumulateTargetError
impl RefUnwindSafe for AccumulateTargetError
impl Send for AccumulateTargetError
impl Sync for AccumulateTargetError
impl Unpin for AccumulateTargetError
impl UnsafeUnpin for AccumulateTargetError
impl UnwindSafe for AccumulateTargetError
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.