pub struct Execution<'owner, S, Q> { /* private fields */ }Expand description
One execution borrows its exact persistent native retirement owner.
Implementations§
Source§impl<'owner, S, Q> Execution<'owner, S, Q>
impl<'owner, S, Q> Execution<'owner, S, Q>
pub fn enter<O>(
self,
op: O,
report: impl Observe,
) -> Result<O::Output, Error<'owner, Infallible, O::Output, Q>>where
O: Op<S, Q>,
pub fn enter_with<R>( self, op: impl for<'scope, 'life, 'p, 'd> FnOnce(Scope<'scope, 'life, 'p, 'd, S, Q>) -> R, report: impl Observe, ) -> Result<R, Error<'owner, Infallible, R, Q>>
Auto Trait Implementations§
impl<'owner, S, Q> !Freeze for Execution<'owner, S, Q>
impl<'owner, S, Q> !RefUnwindSafe for Execution<'owner, S, Q>
impl<'owner, S, Q> !Send for Execution<'owner, S, Q>
impl<'owner, S, Q> !Sync for Execution<'owner, S, Q>
impl<'owner, S, Q> !UnwindSafe for Execution<'owner, S, Q>
impl<'owner, S, Q> Forget for Execution<'owner, S, Q>
impl<'owner, S, Q> Unpin for Execution<'owner, S, Q>
impl<'owner, S, Q> UnsafeUnpin for Execution<'owner, S, Q>
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