Skip to main content

LastRunExt

Trait LastRunExt 

Source
pub trait LastRunExt<R> {
    // Required method
    fn view(self, describe: impl FnOnce(R) -> String) -> LastRunView;
}

Required Methods§

Source

fn view(self, describe: impl FnOnce(R) -> String) -> LastRunView

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<R> LastRunExt<R> for LastRun<R>

Source§

fn view(self, describe: impl FnOnce(R) -> String) -> LastRunView

describe turns a successful outcome into its display text. An error outcome shows the error string.

Implementors§