cargo_test_support

Trait ChannelChangerCommandExt

source
pub trait ChannelChangerCommandExt {
    // Required method
    fn masquerade_as_nightly_cargo(self, _reasons: &[&str]) -> Self;
}
Expand description

Enable nightly features for testing

Required Methods§

source

fn masquerade_as_nightly_cargo(self, _reasons: &[&str]) -> Self

The list of reasons should be why nightly cargo is needed. If it is because of an unstable feature put the name of the feature as the reason, e.g. &["print-im-a-teapot"].

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ChannelChangerCommandExt for Command

source§

fn masquerade_as_nightly_cargo(self, _reasons: &[&str]) -> Self

Implementors§