pub trait ChannelChanger {
    // 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"].

Implementations on Foreign Types§

source§

impl ChannelChanger for Command

source§

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

source§

impl ChannelChanger for &mut ProcessBuilder

source§

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

Implementors§