Skip to main content

PocketIcDiagnosticsExt

Trait PocketIcDiagnosticsExt 

Source
pub trait PocketIcDiagnosticsExt {
    // Required method
    fn dump_canister_debug(&self, canister_id: Principal, context: &str);
}
Expand description

Reusable PocketIC failure diagnostics.

Required Methods§

Source

fn dump_canister_debug(&self, canister_id: Principal, context: &str)

Print status and canister-log context for a failed test operation.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§