pub enum SecureBootError {
NoDevicePathOrFile,
NoValidator,
}
Expand description
An Error
that may result from validating an image with Secure Boot.
Variants§
NoDevicePathOrFile
Neither a device path nor a file buffer were specified to the image.
NoValidator
A validator was not installed, but the security hooks were installed.
Trait Implementations§
Source§impl Debug for SecureBootError
impl Debug for SecureBootError
Source§impl Display for SecureBootError
impl Display for SecureBootError
Source§impl Error for SecureBootError
impl Error for SecureBootError
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 From<SecureBootError> for BootError
impl From<SecureBootError> for BootError
Source§fn from(source: SecureBootError) -> Self
fn from(source: SecureBootError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecureBootError
impl RefUnwindSafe for SecureBootError
impl Send for SecureBootError
impl Sync for SecureBootError
impl Unpin for SecureBootError
impl UnwindSafe for SecureBootError
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