pub struct BootInfo {
pub hardware_info: HardwareInfo,
pub load_info: LoadInfo,
pub platform_info: PlatformInfo,
}
Expand description
Boot information.
This struct is built by the loader and consumed by the kernel. It contains information on how the kernel image was loaded as well as additional hardware and loader specific information.
Fields§
§hardware_info: HardwareInfo
Hardware information.
load_info: LoadInfo
Load information.
platform_info: PlatformInfo
Platform information.
Trait Implementations§
Source§impl From<BootInfo> for RawBootInfo
Available on crate feature loader
only.
impl From<BootInfo> for RawBootInfo
Available on crate feature
loader
only.Source§impl From<RawBootInfo> for BootInfo
Available on crate feature kernel
only.
impl From<RawBootInfo> for BootInfo
Available on crate feature
kernel
only.Source§fn from(raw_boot_info: RawBootInfo) -> Self
fn from(raw_boot_info: RawBootInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BootInfo
impl RefUnwindSafe for BootInfo
impl Send for BootInfo
impl Sync for BootInfo
impl Unpin for BootInfo
impl UnwindSafe for BootInfo
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