Enum multiboot2::MbiLoadError
source · pub enum MbiLoadError {
IllegalAddress,
IllegalTotalSize(u32),
NoEndTag,
}
Expand description
Error type that describes errors while loading/parsing a multiboot2 information structure from a given address.
Variants§
IllegalAddress
The address is invalid. Make sure that the address is 8-byte aligned, according to the spec.
IllegalTotalSize(u32)
The total size of the multiboot2 information structure must be not zero and a multiple of 8.
NoEndTag
Missing end tag. Each multiboot2 boot information requires to have an end tag.
Trait Implementations§
source§impl Clone for MbiLoadError
impl Clone for MbiLoadError
source§fn clone(&self) -> MbiLoadError
fn clone(&self) -> MbiLoadError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MbiLoadError
impl Debug for MbiLoadError
source§impl Display for MbiLoadError
impl Display for MbiLoadError
source§impl Hash for MbiLoadError
impl Hash for MbiLoadError
source§impl Ord for MbiLoadError
impl Ord for MbiLoadError
source§impl PartialEq for MbiLoadError
impl PartialEq for MbiLoadError
source§impl PartialOrd for MbiLoadError
impl PartialOrd for MbiLoadError
impl Copy for MbiLoadError
impl Eq for MbiLoadError
impl StructuralPartialEq for MbiLoadError
Auto Trait Implementations§
impl Freeze for MbiLoadError
impl RefUnwindSafe for MbiLoadError
impl Send for MbiLoadError
impl Sync for MbiLoadError
impl Unpin for MbiLoadError
impl UnwindSafe for MbiLoadError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more