pub trait RegisterTaggedInternalEvent: RegisterInternalEvent {
    type Tags;
    type Fixed;

    // Required method
    fn register(
        fixed: Self::Fixed,
        tags: Self::Tags,
    ) -> <Self as RegisterInternalEvent>::Handle;
}
Expand description

This trait must be implemented by events that emit dynamic tags. register must be implemented to register an event based on the set of tags passed.

Required Associated Types§

source

type Tags

The type that will contain the data necessary to extract the tags that will be used when registering the event.

source

type Fixed

The type that contains data necessary to extract the tags that will be fixed and only need setting up front when the cache is first created.

Required Methods§

source

fn register( fixed: Self::Fixed, tags: Self::Tags, ) -> <Self as RegisterInternalEvent>::Handle

Object Safety§

This trait is not object safe.

Implementors§