pub fn parse_envelope_document( body: &Value, ) -> Option<(String, TrustTask<Value>)>
Parse a DIDComm envelope body into (threadId, document). None when the body is not a threaded Trust Task document.
(threadId, document)
None