Trait mockall::examples::Bah

source ·
pub trait Bah {
    // Required method
    fn bah(&self);
}
Expand description

A trait implemented by a Struct we want to mock

Required Methods§

source

fn bah(&self)

Some trait method

Implementors§

source§

impl Bah for MockBoo

An implementation of a trait on a mocked struct