Struct cw_multi_test::StargateFailing
source · pub struct StargateFailing;Expand description
Always failing stargate mock implementation.
Trait Implementations§
source§impl Stargate for StargateFailing
impl Stargate for StargateFailing
source§fn execute<ExecC, QueryC>(
&self,
api: &dyn Api,
storage: &mut dyn Storage,
router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
block: &BlockInfo,
sender: Addr,
type_url: String,
value: Binary
) -> AnyResult<AppResponse>where
ExecC: Debug + Clone + PartialEq + JsonSchema + DeserializeOwned + 'static,
QueryC: CustomQuery + DeserializeOwned + 'static,
fn execute<ExecC, QueryC>(
&self,
api: &dyn Api,
storage: &mut dyn Storage,
router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
block: &BlockInfo,
sender: Addr,
type_url: String,
value: Binary
) -> AnyResult<AppResponse>where
ExecC: Debug + Clone + PartialEq + JsonSchema + DeserializeOwned + 'static,
QueryC: CustomQuery + DeserializeOwned + 'static,
Processes stargate messages. Read more
Auto Trait Implementations§
impl Freeze for StargateFailing
impl RefUnwindSafe for StargateFailing
impl Send for StargateFailing
impl Sync for StargateFailing
impl Unpin for StargateFailing
impl UnwindSafe for StargateFailing
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more