Skip to main content

map_virtio_error

Function map_virtio_error 

Source
pub fn map_virtio_error(
    error: VirtioError,
    operation: &'static str,
) -> DeviceError
Expand description

Maps a VirtIO error to the runtime category that determines the caller’s recovery action.