#[non_exhaustive]pub enum AcpiErrorClass {
Environmental,
Programmer,
AcpiTables,
Aml,
Control,
Unknown,
}
Expand description
A general type of AcpiError
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Environmental
The error was either internal to ACPICA or was caused by an error in the execution environment or hardware
Programmer
The error was caused by a software bug
AcpiTables
An ACPI table was invalid
Aml
An error occurred while parsing or executing AML code
Control
Internal errors used for control flow within ACPICA
Unknown
The error type was unknown to the rust bindings to ACPICA
Trait Implementations§
Source§impl Clone for AcpiErrorClass
impl Clone for AcpiErrorClass
Source§fn clone(&self) -> AcpiErrorClass
fn clone(&self) -> AcpiErrorClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AcpiErrorClass
impl Debug for AcpiErrorClass
Source§impl PartialEq for AcpiErrorClass
impl PartialEq for AcpiErrorClass
impl Copy for AcpiErrorClass
impl Eq for AcpiErrorClass
impl StructuralPartialEq for AcpiErrorClass
Auto Trait Implementations§
impl Freeze for AcpiErrorClass
impl RefUnwindSafe for AcpiErrorClass
impl Send for AcpiErrorClass
impl Sync for AcpiErrorClass
impl Unpin for AcpiErrorClass
impl UnwindSafe for AcpiErrorClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more