Trait core::asserting::TryCapturePrintable
source · 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>)
fn try_capture(&self, to: &mut Capture<E, M>)
🔬This is a nightly-only experimental API. (
generic_assert_internals #44838)Similar as TryCaptureGeneric but specialized to any E: Printable.