pub trait KabuDataTypes:
Debug
+ Clone
+ Send
+ Sync {
type Transaction: Debug + Clone + Send + Sync + KabuTx<Self> + TransactionTrait;
type TransactionRequest: Debug + Clone + Send + Sync + KabuTransactionRequest<Self>;
type TransactionReceipt: Debug + Clone + Send + Sync;
type Block: Default + Debug + Clone + Send + Sync + KabuBlock<Self>;
type Header: Default + Debug + Clone + Send + Sync + KabuHeader<Self>;
type Log: Default + Debug + Clone + Send + Sync;
type StateUpdate: Default + Debug + Clone + Send + Sync;
}
Required Associated Types§
type Transaction: Debug + Clone + Send + Sync + KabuTx<Self> + TransactionTrait
type TransactionRequest: Debug + Clone + Send + Sync + KabuTransactionRequest<Self>
type TransactionReceipt: Debug + Clone + Send + Sync
type Block: Default + Debug + Clone + Send + Sync + KabuBlock<Self>
type Header: Default + Debug + Clone + Send + Sync + KabuHeader<Self>
type Log: Default + Debug + Clone + Send + Sync
type StateUpdate: Default + Debug + Clone + Send + Sync
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.