Struct limine_protocol::requests::SMBIOSRequest
source · [−]#[repr(C)]pub struct SMBIOSRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<SMBIOSResponse>>,
}Expand description
Request the SMBIOS entry point
Fields
id: [u64; 4]ID Array
revision: u64Revision numbers
response: Option<NonNull<SMBIOSResponse>>Response pointer
Implementations
sourceimpl SMBIOSRequest
impl SMBIOSRequest
sourcepub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 11425710256043938705, 12270710363124524526]
pub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 11425710256043938705, 12270710363124524526]
The ID of the request
sourcepub fn new() -> SMBIOSRequest
pub fn new() -> SMBIOSRequest
Return a new instance of the item with the correct ID values
sourcepub const fn into_request(self) -> LimineRequest<Self>
pub const fn into_request(self) -> LimineRequest<Self>
Convert the request into a LimineRequest
Trait Implementations
sourceimpl Debug for SMBIOSRequest
impl Debug for SMBIOSRequest
sourceimpl Default for SMBIOSRequest
impl Default for SMBIOSRequest
sourcefn default() -> SMBIOSRequest
fn default() -> SMBIOSRequest
Returns the “default value” for a type. Read more
impl LimineRequestMarker for SMBIOSRequest
Auto Trait Implementations
impl RefUnwindSafe for SMBIOSRequest
impl !Send for SMBIOSRequest
impl !Sync for SMBIOSRequest
impl Unpin for SMBIOSRequest
impl UnwindSafe for SMBIOSRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more