[][src]Function svc_agent::mqtt::compat::into_event

pub fn into_event<T>(
    envelope: IncomingEnvelope
) -> Result<IncomingEvent<T>, Error> where
    T: DeserializeOwned

Parses an incoming envelope as an event with payload of type T.