Struct exec_rs::CombinedInvoker [−][src]
Struct that enables combining two Invokers
by calling the second invoker
inside the first one.
Implementations
impl<O: Invoker, I: Invoker> CombinedInvoker<O, I>
[src]
pub fn combine(outer: O, inner: I) -> CombinedInvoker<O, I>
[src]
Trait Implementations
impl<O: Invoker, I: Invoker> Invoker for CombinedInvoker<O, I>
[src]
fn invoke_with_mode_optional<'f, T: 'f, F: FnOnce() -> T + 'f>(
&'f self,
mode: Option<&'f Mode<'f, T>>,
task: F
) -> T
[src]
&'f self,
mode: Option<&'f Mode<'f, T>>,
task: F
) -> T
fn pre_invoke(&self)
[src]
fn invoke_with_mode<'f, T: 'f, F: FnOnce() -> T + 'f>(
&'f self,
mode: &'f Mode<'f, T>,
task: F
) -> T
[src]
&'f self,
mode: &'f Mode<'f, T>,
task: F
) -> T
fn invoke<'f, T: 'f, F: FnOnce() -> T + 'f>(&'f self, task: F) -> T
[src]
fn do_invoke<'f, T: 'f, F: FnOnce() -> T + 'f>(
&'f self,
mode: Option<&'f Mode<'f, T>>,
task: F
) -> T
[src]
&'f self,
mode: Option<&'f Mode<'f, T>>,
task: F
) -> T
fn post_invoke(&self)
[src]
fn invoke_post_invoke_on_panic(&self) -> bool
[src]
fn and_then<I: Invoker>(self, inner: I) -> CombinedInvoker<Self, I> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<O, I> RefUnwindSafe for CombinedInvoker<O, I> where
I: RefUnwindSafe,
O: RefUnwindSafe,
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, I> Send for CombinedInvoker<O, I> where
I: Send,
O: Send,
I: Send,
O: Send,
impl<O, I> Sync for CombinedInvoker<O, I> where
I: Sync,
O: Sync,
I: Sync,
O: Sync,
impl<O, I> Unpin for CombinedInvoker<O, I> where
I: Unpin,
O: Unpin,
I: Unpin,
O: Unpin,
impl<O, I> UnwindSafe for CombinedInvoker<O, I> where
I: UnwindSafe,
O: UnwindSafe,
I: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,