Enum drm_ffi::result::SystemError [−][src]
pub enum SystemError { InvalidFileDescriptor, MemoryFault, InvalidArgument, InvalidFileType, PermissionDenied, Unknown { errno: Errno, }, }
Expand description
A general system error that can be returned by any DRM command.
Receiving this error likely indicates a bug in either the program, this crate, or the underlying operating system.
Variants
A command was attempted using an invalid file descriptor.
Provided memory area is inaccessible.
Receiving this error indicates a bug in this crate.
One or more arguments used are invalid.
This can be due to the system not supporting a feature or value.
A command was attempted using a non-DRM device.
Permission denied.
Unknown system error.
Fields of Unknown
errno: Errno
Unknown nix::errno::Errno
returned by the system call.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl UnwindSafe for SystemError