Trait ink_env::Topics[][src]

pub trait Topics {
    type RemainingTopics: EventTopicsAmount;
    fn topics<E, B>(
        &self,
        builder: TopicsBuilder<Uninit, E, B>
    ) -> <B as TopicsBuilderBackend<E>>::Output
    where
        E: Environment,
        B: TopicsBuilderBackend<E>
; }

Implemented by event types to guide the event topic serialization using the topics builder.

Normally this trait should be implemented automatically via the ink! codegen.

Associated Types

type RemainingTopics: EventTopicsAmount[src]

Type state indicating how many event topics are to be expected by the topics builder.

Loading content...

Required methods

fn topics<E, B>(
    &self,
    builder: TopicsBuilder<Uninit, E, B>
) -> <B as TopicsBuilderBackend<E>>::Output where
    E: Environment,
    B: TopicsBuilderBackend<E>, 
[src]

Guides event topic serialization using the given topics builder.

Loading content...

Implementors

Loading content...