Struct kernel_loader::LoadedKernel
source · pub struct LoadedKernel {
pub address_range: AddressRange,
pub size: u64,
pub entry: GuestAddress,
}
Expand description
Information about a kernel loaded with the load_elf
function.
Fields§
§address_range: AddressRange
Address range containg the bounds of the loaded program headers.
address_range.start
is the start of the lowest loaded program header.
address_range.end
is the end of the highest loaded program header.
size: u64
Size of the kernel image in bytes.
entry: GuestAddress
Entry point address of the kernel.
Trait Implementations§
source§impl Clone for LoadedKernel
impl Clone for LoadedKernel
source§fn clone(&self) -> LoadedKernel
fn clone(&self) -> LoadedKernel
Returns a copy of the value. Read more
1.0.0 · 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 LoadedKernel
impl Debug for LoadedKernel
source§impl PartialEq for LoadedKernel
impl PartialEq for LoadedKernel
source§fn eq(&self, other: &LoadedKernel) -> bool
fn eq(&self, other: &LoadedKernel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LoadedKernel
impl Eq for LoadedKernel
impl StructuralPartialEq for LoadedKernel
Auto Trait Implementations§
impl RefUnwindSafe for LoadedKernel
impl Send for LoadedKernel
impl Sync for LoadedKernel
impl Unpin for LoadedKernel
impl UnwindSafe for LoadedKernel
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