Function killswitch::killswitch[][src]

pub fn killswitch() -> (KillSwitch, Shutdown)

Create a connected KillSwitch and a Shutdown pair.