Trait cw_iper_test::ContractWrapperExt

source ·
pub trait ContractWrapperExt<T1, T2, T3, E1, E2, E3, C = Empty, Q = Empty, T4 = Empty, E4 = AnyError, E5 = AnyError, T6 = Empty, E6 = AnyError>{
    // Required method
    fn to_contract(self) -> Box<dyn Contract<C, Q>>;
}
Expand description

Extension of ContractWrapper, allowing to transform it into Contract directly

Required Methods§

source

fn to_contract(self) -> Box<dyn Contract<C, Q>>

Transform ContractWrapper into Contract

Implementations on Foreign Types§

source§

impl<T1, T2, T3, E1, E2, E3, C, Q, T4, E4, E5, T6, E6> ContractWrapperExt<T1, T2, T3, E1, E2, E3, C, Q, T4, E4, E5, T6, E6> for ContractWrapper<T1, T2, T3, E1, E2, E3, C, Q, T4, E4, E5, T6, E6>
where T1: DeserializeOwned + 'static, T2: DeserializeOwned + 'static, T3: DeserializeOwned + 'static, T4: DeserializeOwned + 'static, T6: DeserializeOwned + 'static, E1: Display + Debug + Send + Sync + 'static, E2: Display + Debug + Send + Sync + 'static, E3: Display + Debug + Send + Sync + 'static, E4: Display + Debug + Send + Sync + 'static, E5: Display + Debug + Send + Sync + 'static, E6: Display + Debug + Send + Sync + 'static, C: CustomMsg + 'static, Q: CustomQuery + DeserializeOwned + 'static,

source§

fn to_contract(self) -> Box<dyn Contract<C, Q>>

Implementors§