Enum uefi::proto::loaded_image::LoadOptionsError
source · pub enum LoadOptionsError {
NotSet,
NotAligned,
InvalidString(FromSliceWithNulError),
}
Expand description
Errors that can be raised during parsing of the load options.
Variants§
NotSet
Load options are not set.
NotAligned
The start and/or length of the load options is not u16
-aligned.
InvalidString(FromSliceWithNulError)
Not a valid null-terminated UCS-2 string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadOptionsError
impl RefUnwindSafe for LoadOptionsError
impl Send for LoadOptionsError
impl Sync for LoadOptionsError
impl Unpin for LoadOptionsError
impl UnwindSafe for LoadOptionsError
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