Struct mun_runtime::InvokeErr3 [−][src]
An invocation error that contains the function name, a mutable reference to the
runtime, passed arguments, and the output type. This allows the caller to retry
the function invocation using the Retriable
trait.
Implementations
impl<'i, 's, A: ArgumentReflection + Marshal<'i>, B: ArgumentReflection + Marshal<'i>, C: ArgumentReflection + Marshal<'i>> InvokeErr3<'i, 's, A, B, C>
[src]
pub fn new(
err_msg: String,
function_name: &'s str,
arg1: A,
arg2: B,
arg3: C
) -> Self
[src]
err_msg: String,
function_name: &'s str,
arg1: A,
arg2: B,
arg3: C
) -> Self
Constructs a new invocation error.
pub fn retry<'r, 'o, Output>(
self,
runtime: &'r mut Runtime
) -> Result<Output, Self> where
Output: 'o + ReturnTypeReflection + Marshal<'o>,
'r: 'o,
[src]
self,
runtime: &'r mut Runtime
) -> Result<Output, Self> where
Output: 'o + ReturnTypeReflection + Marshal<'o>,
'r: 'o,
Retries a function invocation once, resulting in a potentially successful invocation.
pub fn wait<'r, 'o, Output>(self, runtime: &'r mut Runtime) -> Output where
Output: 'o + ReturnTypeReflection + Marshal<'o>,
'r: 'o,
[src]
Output: 'o + ReturnTypeReflection + Marshal<'o>,
'r: 'o,
Retries the function invocation until it succeeds, resulting in an output.
Trait Implementations
impl<'i, 's, A: ArgumentReflection + Marshal<'i>, B: ArgumentReflection + Marshal<'i>, C: ArgumentReflection + Marshal<'i>> Debug for InvokeErr3<'i, 's, A, B, C>
[src]
impl<'i, 's, A: ArgumentReflection + Marshal<'i>, B: ArgumentReflection + Marshal<'i>, C: ArgumentReflection + Marshal<'i>> Display for InvokeErr3<'i, 's, A, B, C>
[src]
impl<'i, 's, A: ArgumentReflection + Marshal<'i>, B: ArgumentReflection + Marshal<'i>, C: ArgumentReflection + Marshal<'i>> Error for InvokeErr3<'i, 's, A, B, C>
[src]
Auto Trait Implementations
impl<'i, 's, A, B, C> RefUnwindSafe for InvokeErr3<'i, 's, A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<'i, 's, A, B, C> Send for InvokeErr3<'i, 's, A, B, C> where
A: Send,
B: Send,
C: Send,
A: Send,
B: Send,
C: Send,
impl<'i, 's, A, B, C> Sync for InvokeErr3<'i, 's, A, B, C> where
A: Sync,
B: Sync,
C: Sync,
A: Sync,
B: Sync,
C: Sync,
impl<'i, 's, A, B, C> Unpin for InvokeErr3<'i, 's, A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
impl<'i, 's, A, B, C> UnwindSafe for InvokeErr3<'i, 's, A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
C: 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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,