pub struct TplGuard<'a, T: BootServices + ?Sized> { /* private fields */ }Expand description
This is a structure restore the Tpl at the end of its scope or when dropped.
See BootServices::raise_tpl_guarded for more details.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for TplGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for TplGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for TplGuard<'a, T>
impl<'a, T> Sync for TplGuard<'a, T>
impl<'a, T> Unpin for TplGuard<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for TplGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
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