Skip to main content

Assertable

Trait Assertable 

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

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

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.

Implementations on Foreign Types§

Source§

impl Assertable for Change

Source§

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

Source§

fn assert(&self) -> ChangeAssertion<'_>

Source§

impl Assertable for Row

Source§

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

Source§

fn assert(&self) -> RowAssertion<'_>

Implementors§