pub trait TryCaptureGeneric<E, M> {
    // Required method
    fn try_capture(&self, to: &mut Capture<E, M>);
}
🔬This is a nightly-only experimental API. (generic_assert_internals #44838)
Expand description

Catches an arbitrary E and modifies to accordingly

Required Methods§

source

fn try_capture(&self, to: &mut Capture<E, M>)

🔬This is a nightly-only experimental API. (generic_assert_internals #44838)

Similar to TryCapturePrintable but generic to any E.

Implementors§