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
sourceimpl 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
sourceimpl Clone for UnstableFeature
impl Clone for UnstableFeature
sourcefn clone(&self) -> UnstableFeature
fn clone(&self) -> UnstableFeature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnstableFeature
impl Debug for UnstableFeature
sourceimpl<'de> Deserialize<'de> for UnstableFeature
impl<'de> Deserialize<'de> for UnstableFeature
sourcefn 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
sourceimpl Hash for UnstableFeature
impl Hash for UnstableFeature
sourceimpl PartialEq<UnstableFeature> for UnstableFeature
impl PartialEq<UnstableFeature> for UnstableFeature
sourcefn 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 ==
. Read more
sourceimpl Serialize for UnstableFeature
impl Serialize for UnstableFeature
impl Copy for UnstableFeature
impl Eq for UnstableFeature
impl StructuralEq for UnstableFeature
impl StructuralPartialEq for UnstableFeature
Auto Trait Implementations
impl RefUnwindSafe for UnstableFeature
impl Send for UnstableFeature
impl Sync for UnstableFeature
impl Unpin for UnstableFeature
impl UnwindSafe for UnstableFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.