#[non_exhaustive]pub enum RutabagaError {
Show 27 variants
AlreadyInUse,
CheckedArithmetic {
field1: (&'static str, usize),
field2: (&'static str, usize),
op: &'static str,
},
CheckedRange {
field1: (&'static str, usize),
field2: (&'static str, usize),
},
ComponentError(i32),
Invalid2DInfo,
InvalidCapset,
InvalidCommandBuffer,
InvalidCommandSize(usize),
InvalidComponent,
InvalidContextId,
InvalidCrossDomainChannel,
InvalidCrossDomainItemId,
InvalidCrossDomainItemType,
InvalidCrossDomainState,
InvalidGrallocBackend,
InvalidGrallocDimensions,
InvalidGrallocDrmFormat,
InvalidGrallocGpuType,
InvalidGrallocNumberOfPlanes,
InvalidIovec,
InvalidResourceId,
InvalidRutabagaBuild,
InvalidVulkanInfo,
MappingFailed(i32),
MesaError(MesaError),
SerdeJsonError(Error),
SnapshotError,
}
Expand description
A list specifying general categories of rutabaga_gfx error.
This list is intended to grow over time and it is not recommended to exhaustively match against it.
It is used with the RutabagaError
type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AlreadyInUse
Indicates Rutabaga
was already initialized since only one Rutabaga instance per process
is allowed.
CheckedArithmetic
Checked Arithmetic error
CheckedRange
Checked Range error
ComponentError(i32)
An internal Rutabaga component error was returned.
Invalid2DInfo
Invalid 2D info
InvalidCapset
Invalid Capset
InvalidCommandBuffer
A command buffer with insufficient space was submitted.
InvalidCommandSize(usize)
A command size was submitted that was invalid.
InvalidComponent
Invalid RutabagaComponent
InvalidContextId
Invalid Context ID
InvalidCrossDomainChannel
Invalid cross domain channel
InvalidCrossDomainItemId
Invalid cross domain item ID
InvalidCrossDomainItemType
Invalid cross domain item type
InvalidCrossDomainState
Invalid cross domain state
InvalidGrallocBackend
Invalid gralloc backend.
InvalidGrallocDimensions
Invalid gralloc dimensions.
InvalidGrallocDrmFormat
Invalid gralloc DRM format.
InvalidGrallocGpuType
Invalid GPU type.
InvalidGrallocNumberOfPlanes
Invalid number of YUV planes.
InvalidIovec
The indicated region of guest memory is invalid.
InvalidResourceId
Invalid Resource ID.
InvalidRutabagaBuild
Indicates an error in the RutabagaBuilder.
InvalidVulkanInfo
An error with VulkanInfo
MappingFailed(i32)
The mapping failed.
MesaError(MesaError)
A Mesa Error
SerdeJsonError(Error)
A snapshot JSON error was returned
SnapshotError
A snapshot Error