macro_rules! dummy_contract {
(
macro_rules! $res:ident {...}
impl$(<$($gen:ident),+ $(,)?>)? Contract for $ty:ty {...}
) => { ... };
}
Expand description
Implement dummy Contract trait, used for tests Allows contract methods to return either T, or Result<T, String> for any T