#[repr(C)]pub struct Level5PagingRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<Level5PagingResponse>>,
}Expand description
Request Level 5 paging be enabled
Fields§
§id: [u64; 4]The request id array
revision: u64The request revision
response: Option<NonNull<Level5PagingResponse>>Response pointer
Implementations§
Source§impl Level5PagingRequest
impl Level5PagingRequest
Sourcepub unsafe fn get_response(&self) -> Option<&Level5PagingResponse>
pub unsafe fn get_response(&self) -> Option<&Level5PagingResponse>
Get the response as a reference, if it’s present.
§Safety
The backing memory must not have been invalidated by the kernel, either by writing to the physical memory, changing where it’s mapped, or unmapping it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Level5PagingRequest
impl RefUnwindSafe for Level5PagingRequest
impl !Send for Level5PagingRequest
impl !Sync for Level5PagingRequest
impl Unpin for Level5PagingRequest
impl UnwindSafe for Level5PagingRequest
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