Function set_message_bus

Source
pub fn set_message_bus(msgbus: Rc<RefCell<MessageBus>>)
Expand description

Sets the thread-local message bus.

§Panics

Panics if a message bus has already been set for this thread.