exit

Function exit 

Source
pub fn exit()
Expand description

Shut down the lio I/O driver background thread(s) and release OS resources.

After calling this, further I/O operations in this process are unsupported. Calling shutdown more than once will panic.