Enum cli::types::UnstableFeature
source · pub enum UnstableFeature {
CtrlCHandling,
}
Expand description
Unstable cargo-make feature
Variants§
CtrlCHandling
Gracefully shutdown and then kill the running command on Ctrl+C signal
Implementations§
source§impl UnstableFeature
impl UnstableFeature
sourcepub fn to_env_name(&self) -> String
pub fn to_env_name(&self) -> String
Creates the env. variable name associated to the feature
sourcepub fn is_env_set(&self) -> bool
pub fn is_env_set(&self) -> bool
Is the corresponding env. variable set?
Trait Implementations§
source§impl Clone for UnstableFeature
impl Clone for UnstableFeature
source§fn clone(&self) -> UnstableFeature
fn clone(&self) -> UnstableFeature
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 UnstableFeature
impl Debug for UnstableFeature
source§impl<'de> Deserialize<'de> for UnstableFeature
impl<'de> Deserialize<'de> for UnstableFeature
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
source§impl Hash for UnstableFeature
impl Hash for UnstableFeature
source§impl PartialEq for UnstableFeature
impl PartialEq for UnstableFeature
source§fn eq(&self, other: &UnstableFeature) -> bool
fn eq(&self, other: &UnstableFeature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnstableFeature
impl Serialize for UnstableFeature
impl Copy for UnstableFeature
impl Eq for UnstableFeature
impl StructuralPartialEq for UnstableFeature
Auto Trait Implementations§
impl Freeze for UnstableFeature
impl RefUnwindSafe for UnstableFeature
impl Send for UnstableFeature
impl Sync for UnstableFeature
impl Unpin for UnstableFeature
impl UnwindSafe for UnstableFeature
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