Skip to main content

HandlerRegistry

Type Alias HandlerRegistry 

Source
pub type HandlerRegistry = HandlerCache;
Expand description

Preferred name for HandlerCache — emphasizes registry semantics over caching.

Aliased Type§

pub struct HandlerRegistry {
    pub entries: HashMap<&'static str, HandlerEntry>,
    pub entries_by_id: HashMap<TypeId, HandlerEntry>,
}

Fields§

§entries: HashMap<&'static str, HandlerEntry>§entries_by_id: HashMap<TypeId, HandlerEntry>