pub trait EndpointWrappers: ContractBase + StakingModule {
// Provided methods
fn call_stake(&mut self) { ... }
fn call_unstake(&mut self) { ... }
fn call_vote_slash_member(&mut self) { ... }
fn call_cancel_vote_slash_member(&mut self) { ... }
fn call_slash_member(&mut self) { ... }
fn call(&mut self, fn_name: &str) -> bool { ... }
fn callback_selector(
&mut self,
___cb_closure___: &CallbackClosureForDeser<Self::Api>,
) -> CallbackSelectorResult { ... }
fn callback(&mut self) { ... }
}
Provided Methods§
fn call_stake(&mut self)
fn call_unstake(&mut self)
fn call_vote_slash_member(&mut self)
fn call_cancel_vote_slash_member(&mut self)
fn call_slash_member(&mut self)
fn call(&mut self, fn_name: &str) -> bool
fn callback_selector( &mut self, ___cb_closure___: &CallbackClosureForDeser<Self::Api>, ) -> CallbackSelectorResult
fn callback(&mut self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.