Enum cli::error::CargoMakeErrorDiscriminants
source · #[repr(u16)]pub enum CargoMakeErrorDiscriminants {
Show 18 variants
EnvVarCycle = 100,
AliasCycle = 101,
CircularReference = 102,
VersionTooOld = 103,
ExitCodeValidation = 104,
ExitCodeError = 105,
DescriptorParseFailed = 106,
ParseFileFailed = 107,
Arity = 108,
MethodCallRestriction = 109,
TaskIs = 110,
NotFound = 404,
StdIoError = 700,
StdFmtError = 709,
ExitCode = 710,
TomlDeError = 720,
FsIOError = 730,
ParserError = 731,
}
Expand description
Auto-generated discriminant enum variants
Variants§
EnvVarCycle = 100
AliasCycle = 101
CircularReference = 102
VersionTooOld = 103
ExitCodeValidation = 104
ExitCodeError = 105
DescriptorParseFailed = 106
ParseFileFailed = 107
Arity = 108
MethodCallRestriction = 109
TaskIs = 110
NotFound = 404
StdIoError = 700
StdFmtError = 709
ExitCode = 710
TomlDeError = 720
FsIOError = 730
ParserError = 731
Trait Implementations§
source§impl Clone for CargoMakeErrorDiscriminants
impl Clone for CargoMakeErrorDiscriminants
source§fn clone(&self) -> CargoMakeErrorDiscriminants
fn clone(&self) -> CargoMakeErrorDiscriminants
Returns a copy of the value. Read more
1.0.0 · 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 CargoMakeErrorDiscriminants
impl Debug for CargoMakeErrorDiscriminants
source§impl<'_enum> From<&'_enum CargoMakeError> for CargoMakeErrorDiscriminants
impl<'_enum> From<&'_enum CargoMakeError> for CargoMakeErrorDiscriminants
source§fn from(val: &'_enum CargoMakeError) -> CargoMakeErrorDiscriminants
fn from(val: &'_enum CargoMakeError) -> CargoMakeErrorDiscriminants
Converts to this type from the input type.
source§impl From<CargoMakeError> for CargoMakeErrorDiscriminants
impl From<CargoMakeError> for CargoMakeErrorDiscriminants
source§fn from(val: CargoMakeError) -> CargoMakeErrorDiscriminants
fn from(val: CargoMakeError) -> CargoMakeErrorDiscriminants
Converts to this type from the input type.
source§impl PartialEq for CargoMakeErrorDiscriminants
impl PartialEq for CargoMakeErrorDiscriminants
source§fn eq(&self, other: &CargoMakeErrorDiscriminants) -> bool
fn eq(&self, other: &CargoMakeErrorDiscriminants) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CargoMakeErrorDiscriminants
impl Eq for CargoMakeErrorDiscriminants
impl StructuralPartialEq for CargoMakeErrorDiscriminants
Auto Trait Implementations§
impl Freeze for CargoMakeErrorDiscriminants
impl RefUnwindSafe for CargoMakeErrorDiscriminants
impl Send for CargoMakeErrorDiscriminants
impl Sync for CargoMakeErrorDiscriminants
impl Unpin for CargoMakeErrorDiscriminants
impl UnwindSafe for CargoMakeErrorDiscriminants
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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more