Trait no_std_compat2::asserting::TryCaptureGeneric
source · 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)Available on non-crate feature
std only.Expand description
Catches an arbitrary E and modifies to accordingly
Required Methods§
sourcefn try_capture(&self, to: &mut Capture<E, M>)
fn try_capture(&self, to: &mut Capture<E, M>)
🔬This is a nightly-only experimental API. (
generic_assert_internals)Similar to [TryCapturePrintable] but generic to any E.