Trait mockers::matchers::MatchArgExt
source · pub trait MatchArgExt<T: Debug, M: MatchArg<T>> {
// Required methods
fn with_custom_msg<F: Fn(&T) -> String>(
self,
msg_fn: F
) -> WithMessageFn<T, M, F>;
fn with_description_fn<F: Fn() -> String>(
self,
description_fn: F
) -> WithDescriptionFn<T, M, F>;
}
Required Methods§
fn with_custom_msg<F: Fn(&T) -> String>( self, msg_fn: F ) -> WithMessageFn<T, M, F>
fn with_description_fn<F: Fn() -> String>( self, description_fn: F ) -> WithDescriptionFn<T, M, F>
Object Safety§
This trait is not object safe.