pub enum InvokerControl<I, S> {
Enter(I),
DirectExit(InvokerExit<S>),
}Expand description
Control for an invoker.
Variants§
Enter(I)
Pushing the call stack.
DirectExit(InvokerExit<S>)
Directly exit, not pushing the call stack.
Auto Trait Implementations§
impl<I, S> Freeze for InvokerControl<I, S>
impl<I, S> RefUnwindSafe for InvokerControl<I, S>where
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<I, S> Send for InvokerControl<I, S>
impl<I, S> Sync for InvokerControl<I, S>
impl<I, S> Unpin for InvokerControl<I, S>
impl<I, S> UnwindSafe for InvokerControl<I, S>where
I: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T to get Rest.