Struct limine_protocol::requests::BootTimeRequest
source · [−]#[repr(C)]pub struct BootTimeRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<BootTimeResponse>>,
}Expand description
Request the time on boot
Fields
id: [u64; 4]ID Array
revision: u64Revision numbers
response: Option<NonNull<BootTimeResponse>>Response pointer
Implementations
sourceimpl BootTimeRequest
impl BootTimeRequest
sourcepub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 5775662981534746794, 18142166725178849427]
pub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 5775662981534746794, 18142166725178849427]
The ID of the request
sourcepub fn new() -> BootTimeRequest
pub fn new() -> BootTimeRequest
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 BootTimeRequest
impl Debug for BootTimeRequest
sourceimpl Default for BootTimeRequest
impl Default for BootTimeRequest
sourcefn default() -> BootTimeRequest
fn default() -> BootTimeRequest
Returns the “default value” for a type. Read more
impl LimineRequestMarker for BootTimeRequest
Auto Trait Implementations
impl RefUnwindSafe for BootTimeRequest
impl !Send for BootTimeRequest
impl !Sync for BootTimeRequest
impl Unpin for BootTimeRequest
impl UnwindSafe for BootTimeRequest
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