From 19d0430ff42da0fdc329e00d1c9c9b24addc457c Mon Sep 17 00:00:00 2001 From: George Mulhearn Date: Tue, 17 Dec 2024 10:30:15 +1000 Subject: [PATCH] comment on weird typing Signed-off-by: George Mulhearn --- aries/aries_vcx_ledger/src/ledger/multi_ledger.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aries/aries_vcx_ledger/src/ledger/multi_ledger.rs b/aries/aries_vcx_ledger/src/ledger/multi_ledger.rs index 245cd08ede..fa00035e5b 100644 --- a/aries/aries_vcx_ledger/src/ledger/multi_ledger.rs +++ b/aries/aries_vcx_ledger/src/ledger/multi_ledger.rs @@ -300,6 +300,8 @@ mod unit_tests { impl AnoncredsLedgerRead for Reader { type RevocationRegistryDefinitionAdditionalMetadata = Value; + // NOTE: these method signatures were generated as a result of the expanded #[async_trait] form. + // this was needed to escape some #[async_trait] compiling issues fn get_schema<'life0,'life1,'life2,'async_trait>(&'life0 self,schema_id: &'life1 SchemaId,submitter_did:Option< &'life2 Did> ,) -> ::core::pin::Pin > + ::core::marker::Send+'async_trait> >where 'life0:'async_trait,'life1:'async_trait,'life2:'async_trait,Self:'async_trait; fn get_cred_def<'life0,'life1,'life2,'async_trait>(&'life0 self,cred_def_id: &'life1 CredentialDefinitionId,submitter_did:Option< &'life2 Did> ,) -> ::core::pin::Pin > + ::core::marker::Send+'async_trait> >where 'life0:'async_trait,'life1:'async_trait,'life2:'async_trait,Self:'async_trait; async fn get_rev_reg_def_json(&self, rev_reg_id: &RevocationRegistryDefinitionId) -> VcxLedgerResult<(RevocationRegistryDefinition, Value)>;