io_context

Function io_context 

Source
pub fn io_context() -> &'static IoContext
Expand description

Get global register IoContext.

Notice: this function must be called after a call register_io_context, otherwise panic will occur. or the mio-driver is available