Skip to main content

parse_event

Function parse_event 

Source
pub fn parse_event(name: &str) -> Result<Event, LoadError>
Expand description

Parse a hook’s on: string to the closed Event enum (doc 11 §3). An unknown name is a load error. Custom(N) is the open tail.