pub trait Event: BorshSerialize + Discriminator {
// Provided method
fn emit_cpi_with_space(
&self,
event_authority: AccountInfo<'_>,
event_authority_bump: u8,
space: usize,
) -> Result<(), Error> { ... }
}
Expand description
Event.
Provided Methods§
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.