[][src]Function safe_authenticator::ipc::decode_ipc_msg

pub async fn decode_ipc_msg<'_>(
    client: &'_ AuthClient,
    msg: IpcMsg
) -> Result<Result<IpcMsg, (i32, String, CString)>, AuthError>

Decodes a given encoded IPC message and returns either an IpcMsg struct or an error code + description & an encoded IpcMsg::Resp in case of an error