Skip to main content

from_raw_event

Function from_raw_event 

pub fn from_raw_event<'a, 'f, T>(
    raw: &RawEvent<'a, 'f>,
) -> Result<T, DeserError>
Available on crate features dial9 and serde-deserialize only.
Expand description

Deserialize a RawEvent into T.

Most callers should use RawEvent::deserialize instead, which is a thin wrapper over this function.