Enum rutabaga_gfx::RutabagaError
source · pub enum RutabagaError {
Show 32 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(&'static str),
InvalidRutabagaHandle,
InvalidVulkanInfo,
IoError(Error),
MappingFailed(i32),
NixError(Error),
NulError(NulError),
SpecViolation(&'static str),
TryFromIntError(TryFromIntError),
Unsupported,
Utf8Error(Utf8Error),
}
Expand description
An error generated while using this crate.
Variants§
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(&'static str)
Indicates an error in the RutabagaBuilder.
InvalidRutabagaHandle
An error with the RutabagaHandle
InvalidVulkanInfo
Invalid Vulkan info
IoError(Error)
An input/output error occured.
MappingFailed(i32)
The mapping failed.
NixError(Error)
Nix crate error.
NulError(NulError)
SpecViolation(&'static str)
Violation of the Rutabaga spec occured.
TryFromIntError(TryFromIntError)
An attempted integer conversion failed.
Unsupported
The command is unsupported.
Utf8Error(Utf8Error)
Utf8 error.