pub trait Event {
const NAME: &'static [u8];
// Provided methods
fn log0(&self) { ... }
fn log1(&self, topic: impl Into<Bytes32>) { ... }
fn log2(&self, topic1: impl Into<Bytes32>, topic2: impl Into<Bytes32>) { ... }
fn log3(
&self,
topic1: impl Into<Bytes32>,
topic2: impl Into<Bytes32>,
topic3: impl Into<Bytes32>,
) { ... }
fn log4(
&self,
topic1: impl Into<Bytes32>,
topic2: impl Into<Bytes32>,
topic3: impl Into<Bytes32>,
topic4: impl Into<Bytes32>,
) { ... }
}
Expand description
Zink event interface
Required Associated Constants§
Provided Methods§
fn log0(&self)
fn log1(&self, topic: impl Into<Bytes32>)
fn log2(&self, topic1: impl Into<Bytes32>, topic2: impl Into<Bytes32>)
fn log3( &self, topic1: impl Into<Bytes32>, topic2: impl Into<Bytes32>, topic3: impl Into<Bytes32>, )
fn log4( &self, topic1: impl Into<Bytes32>, topic2: impl Into<Bytes32>, topic3: impl Into<Bytes32>, topic4: impl Into<Bytes32>, )
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.