pub trait TryCapturePrintable<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: Printable and modifies to accordingly
Required Methods§
Sourcefn try_capture(&self, to: &mut Capture<E, M>)
🔬This is a nightly-only experimental API. (generic_assert_internals #44838)
fn try_capture(&self, to: &mut Capture<E, M>)
generic_assert_internals #44838)Similar as TryCaptureGeneric but specialized to any E: Printable.