[][src]Trait mun_runtime::RetryResultExt

pub trait RetryResultExt: Sized {
    type Output;
    fn retry(self) -> Self;
fn wait(self) -> Self::Output; }

Extends a result object with functions that allow retrying of an action.

Associated Types

type Output

Output type on success

Loading content...

Required methods

fn retry(self) -> Self

Retries an action, resulting in a potentially mutated version of itself.

fn wait(self) -> Self::Output

Keeps retrying the same action until it succeeds, resulting in an output.

Loading content...

Implementations on Foreign Types

impl<'s, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr0<'s, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr1<'s, A, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr2<'s, A, B, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr3<'s, A, B, C, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr4<'s, A, B, C, D, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr5<'s, A, B, C, D, E, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr6<'s, A, B, C, D, E, F, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr7<'s, A, B, C, D, E, F, G, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr8<'s, A, B, C, D, E, F, G, H, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr9<'s, A, B, C, D, E, F, G, H, I, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr10<'s, A, B, C, D, E, F, G, H, I, J, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, K: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr11<'s, A, B, C, D, E, F, G, H, I, J, K, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, K: ArgumentReflection, L: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr12<'s, A, B, C, D, E, F, G, H, I, J, K, L, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, K: ArgumentReflection, L: ArgumentReflection, M: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr13<'s, A, B, C, D, E, F, G, H, I, J, K, L, M, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, K: ArgumentReflection, L: ArgumentReflection, M: ArgumentReflection, N: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr14<'s, A, B, C, D, E, F, G, H, I, J, K, L, M, N, Output>>[src]

type Output = Output

impl<'s, A: ArgumentReflection, B: ArgumentReflection, C: ArgumentReflection, D: ArgumentReflection, E: ArgumentReflection, F: ArgumentReflection, G: ArgumentReflection, H: ArgumentReflection, I: ArgumentReflection, J: ArgumentReflection, K: ArgumentReflection, L: ArgumentReflection, M: ArgumentReflection, N: ArgumentReflection, O: ArgumentReflection, Output: ReturnTypeReflection> RetryResultExt for Result<Output, InvokeErr15<'s, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Output>>[src]

type Output = Output

Loading content...

Implementors

Loading content...