pub fn default_engine_type_for_kv() -> FileEngineType {
    if KernelVersion::get().unwrap() >= min_kernel_version_for_io_uring() {
        FileEngineType::Async
    } else {
        FileEngineType::Sync
    }
}
/// Return the Async FileEngineType if supported by the host, otherwise default to Sync.
Return the Async FileEngineType if supported by the host, otherwise default to Sync.
Return the Async FileEngineType if supported by the host otherwise default to Sync .
pub fn default_engine_type_for_kv() -> FileEngineType {
    if KernelVersion::get().unwrap() >= min_kernel_version_for_io_uring() {
        FileEngineType::Async
    } else {
        FileEngineType::Sync
    }
}
pub fn default_engine_type_for_kv ( ) -> FileEngineType { if KernelVersion :: get ( ) . unwrap ( ) >= min_kernel_version_for_io_uring ( ) { FileEngineType :: Async } else { FileEngineType :: Sync } }
Return the Async FileEngineType if supported by the host, otherwise default to Sync.
Return the Async FileEngineType if supported by the host otherwise default to Sync .