Skip to main content

ExpectSnapshot

Trait ExpectSnapshot 

Source
pub trait ExpectSnapshot {
    // Required methods
    fn assert_eq(&self, actual: &str);
    fn assert_debug_eq(&self, actual: &impl Debug);
}

Required Methods§

Source

fn assert_eq(&self, actual: &str)

Source

fn assert_debug_eq(&self, actual: &impl Debug)

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ExpectSnapshot for Expect

Source§

fn assert_eq(&self, actual: &str)

Source§

fn assert_debug_eq(&self, actual: &impl Debug)

Source§

impl ExpectSnapshot for ExpectFile

Source§

fn assert_eq(&self, actual: &str)

Source§

fn assert_debug_eq(&self, actual: &impl Debug)

Implementors§