Skip to main content

set_mode

Function set_mode 

Source
pub fn set_mode(mode: &str) -> Result<()>
Expand description

Sets the mode without doing any grouping (NOR does it stack the modes!!)

Useful for environments, where the group has already been established. (presumably, in the long run, modes & groups should be much less coupled)