Trait spongemock::Spongemock[][src]

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

    fn mock_default(&mut self) { ... }
}

Required methods

fn mock(&mut self, config: &Config)[src]

Expand description

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

Provided methods

fn mock_default(&mut self)[src]

Expand description

Use the default configuration for the mock implementation

Implementations on Foreign Types

impl Spongemock for String[src]

fn mock(&mut self, config: &Config)[src]

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

Implementors