pub trait ActionWriter:
Clone
+ Send
+ Sync {
type Error: Display + Send + Sync;
// Required method
fn write_action(
&self,
cid: ContractId,
action: CallAction,
) -> impl Future<Output = Result<Hash256, Self::Error>> + Send;
}Required Associated Types§
Required Methods§
fn write_action( &self, cid: ContractId, action: CallAction, ) -> impl Future<Output = Result<Hash256, Self::Error>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".