pub trait SolidityEventTrait: Send + Sync {
type Indexed: EventIndexEncodable;
type NonIndexed: ABIEncodable;
const EVENT_SIG: H256;
// Provided method
fn log(
indexed: &Self::Indexed,
non_indexed: &Self::NonIndexed,
param: &ActionParams,
context: &mut InternalRefContext<'_>,
) -> Result<()> { ... }
}
Expand description
Native implementation of a solidity-interface function.
Required Associated Constants§
Required Associated Types§
Provided Methods§
fn log( indexed: &Self::Indexed, non_indexed: &Self::NonIndexed, param: &ActionParams, context: &mut InternalRefContext<'_>, ) -> Result<()>
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.