Function async_i3ipc::decode_event[][src]

pub fn decode_event<P>(evt_type: u32, payload: P) -> Result<Event, Error> where
    P: AsRef<[u8]>, 
Expand description

Given an event type and payload this function will deserialize the proper struct