Assertable

Trait Assertable 

Source
pub trait Assertable {
    type Assertion<'a>
       where Self: 'a;

    // Required method
    fn assert(&self) -> Self::Assertion<'_>;
}
Expand description

Helper to create assertions

Required Associated Types§

Source

type Assertion<'a> where Self: 'a

Required Methods§

Source

fn assert(&self) -> Self::Assertion<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Assertable for Row

Source§

type Assertion<'a> = RowAssertion<'a> where Self: 'a

Source§

impl Assertable for FlowChange

Source§

type Assertion<'a> = FlowChangeAssertion<'a> where Self: 'a

Source§

impl Assertable for TestStateStore

Source§

type Assertion<'a> = StateAssertion<'a> where Self: 'a