Skip to main content

validate_event

Function validate_event 

Source
pub fn validate_event(event: &EventInput) -> KResult<EventInput>
Expand description

Field/enum checks plus the inline payload limit. Returns the normalized event; the kernel keeps payloads byte-exact, so normalization is currently a no-op clone that exists so the host has one place to adopt future coercions.