pub trait Spongemock {
    // Required method
    fn mock(&mut self, config: &Config);

    // Provided method
    fn mock_default(&mut self) { ... }
}

Required Methods§

source

fn mock(&mut self, config: &Config)

Transform a mutable Self reference according to the set parameters in the specified options

Provided Methods§

source

fn mock_default(&mut self)

Use the default configuration for the mock implementation

Implementations on Foreign Types§

source§

impl Spongemock for String

source§

fn mock(&mut self, config: &Config)

Transform a mutable str reference according to the set parameters in the specified options

Implementors§