Skip to main content

unregister_files

Function unregister_files 

pub fn unregister_files() -> Result<(), Error>
Available on crate feature runtime only.
Expand description

Unregister previously registered file descriptors from the current runtime’s io_uring instance.

This only works on io_uring driver. It will return an Unsupported error on other drivers.

§Panics

This method doesn’t create runtime. It tries to obtain the current runtime by Runtime::with_current.