Trait mimicry::CheckRealCall
source · pub trait CheckRealCall {
fn should_call_real(&self) -> bool { ... }
}
Expand description
Checks whether it is necessary to delegate to real impl instead of the mock.
Provided Methods
sourcefn should_call_real(&self) -> bool
fn should_call_real(&self) -> bool
Performs the check.
The default implementation always returns false
(i.e., always use the mock).