Enum drm_ffi::result::SystemError [−][src]
pub enum SystemError { InvalidFileDescriptor, MemoryFault, InvalidArgument, InvalidFileType, PermissionDenied, Unknown { errno: Errno, }, }
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.
Show fields
Fields of Unknown
errno: Errno
Unknown nix::errno::Errno
returned by the system call.
Trait Implementations
impl Error for SystemError
[src]
impl Error for SystemError
[src]impl From<Errno> for SystemError
[src]
impl From<Errno> for SystemError
[src]fn from(errno: Errno) -> SystemError
[src]
impl From<Error> for SystemError
[src]
impl From<Error> for SystemError
[src]fn from(nerr: NixError) -> SystemError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemError
impl RefUnwindSafe for SystemError
impl Send for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl Unpin for SystemError
impl UnwindSafe for SystemError
impl UnwindSafe for SystemError