Struct uefi::data_types::Event
source · [−]#[repr(transparent)]pub struct Event(_);
Expand description
Handle to an event structure
Implementations
sourceimpl Event
impl Event
sourcepub unsafe fn unsafe_clone(&self) -> Self
pub unsafe fn unsafe_clone(&self) -> Self
Clone this Event
Safety
When an event is closed by calling BootServices::close_event
, that event and ALL references
to it are invalidated and the underlying memory is freed by firmware. The caller must ensure
that any clones of a closed Event
are never used again.
Auto Trait Implementations
impl RefUnwindSafe for Event
impl !Send for Event
impl !Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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