pub struct Activate<'driver, 'turn, 'root, 'd: 'root> { /* private fields */ }Expand description
Route activation authority for one exact retained root and scheduler turn.
Implementations§
Source§impl<'driver, 'turn, 'root, 'd: 'root> Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd: 'root> Activate<'driver, 'turn, 'root, 'd>
pub const fn target(&self) -> Erased<'d, Any>
pub fn reborrow(&mut self) -> Activate<'_, '_, 'root, 'd>
pub fn into_driver(self) -> (Erased<'d, Any>, Context<'driver, 'root, 'd>)
pub fn map<R>( self, map: impl FnOnce(Erased<'d, Any>, Turn<'turn, 'd>, Context<'driver, 'root, 'd>) -> R, ) -> R
Auto Trait Implementations§
impl<'driver, 'turn, 'root, 'd> !RefUnwindSafe for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> !Send for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> !Sync for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> !UnwindSafe for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> Freeze for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> Unpin for Activate<'driver, 'turn, 'root, 'd>
impl<'driver, 'turn, 'root, 'd> UnsafeUnpin for Activate<'driver, 'turn, 'root, 'd>
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