pub trait CompressedDataChunk {
const KEY: &'static str;
// Provided methods
fn event_stream(&self) -> CompressedDataEventStream
where Self: AnchorSerialize + ToSchema { ... }
fn emit<'info>(
&self,
slot: u64,
leaf_idx: u32,
merkle_tree: &AccountInfo<'info>,
log_wrapper: &Program<'info, Noop>,
seq_offset: u64,
) -> Result<()>
where Self: AnchorSerialize + ToSchema { ... }
}
Required Associated Constants§
Provided Methods§
fn event_stream(&self) -> CompressedDataEventStreamwhere
Self: AnchorSerialize + ToSchema,
fn emit<'info>(
&self,
slot: u64,
leaf_idx: u32,
merkle_tree: &AccountInfo<'info>,
log_wrapper: &Program<'info, Noop>,
seq_offset: u64,
) -> Result<()>where
Self: AnchorSerialize + ToSchema,
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.