Function switch

Source
pub async fn switch(name: String) -> Result<()>