pub enum KernelInitError {
UnknownOverride {
value: String,
},
NonUnicodeOverride,
UnsupportedArm {
requested: KernelArm,
},
AlreadyInitialized {
selected: KernelArm,
requested: KernelArm,
},
}Expand description
Typed failures produced while applying a runtime kernel override.
Variants§
UnknownOverride
ZE_KERNEL contained a Unicode value outside the supported set.
NonUnicodeOverride
ZE_KERNEL was not valid Unicode.
UnsupportedArm
The requested family cannot execute on this CPU/architecture.
AlreadyInitialized
A kernel call selected an arm before a conflicting explicit override.
Trait Implementations§
Source§impl Clone for KernelInitError
impl Clone for KernelInitError
Source§fn clone(&self) -> KernelInitError
fn clone(&self) -> KernelInitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KernelInitError
impl Debug for KernelInitError
Source§impl Display for KernelInitError
impl Display for KernelInitError
impl Eq for KernelInitError
Source§impl Error for KernelInitError
impl Error for KernelInitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for KernelInitError
impl PartialEq for KernelInitError
impl StructuralPartialEq for KernelInitError
Auto Trait Implementations§
impl Freeze for KernelInitError
impl RefUnwindSafe for KernelInitError
impl Send for KernelInitError
impl Sync for KernelInitError
impl Unpin for KernelInitError
impl UnsafeUnpin for KernelInitError
impl UnwindSafe for KernelInitError
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