Function async_i3ipc::decode_msg
source · pub async fn decode_msg<D, S>(stream: &mut S) -> Result<Result<MsgResponse<D>>>where
D: DeserializeOwned,
S: Read + Unpin,
Expand description
Decode a response into a MsgResponse
pub async fn decode_msg<D, S>(stream: &mut S) -> Result<Result<MsgResponse<D>>>where
D: DeserializeOwned,
S: Read + Unpin,
Decode a response into a MsgResponse