pub struct MemoryCredentialStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CredentialStore for MemoryCredentialStore
impl CredentialStore for MemoryCredentialStore
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
service_did: &'life1 str,
credential_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn find<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
service_did: &'life1 str,
credential_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<CredentialRecord>, AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list<'life0, 'life1, 'async_trait>(
&'life0 self,
service_did: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CredentialRecord>, AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
credential: CredentialRecord,
) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryCredentialStore
impl !RefUnwindSafe for MemoryCredentialStore
impl !UnwindSafe for MemoryCredentialStore
impl Send for MemoryCredentialStore
impl Sync for MemoryCredentialStore
impl Unpin for MemoryCredentialStore
impl UnsafeUnpin for MemoryCredentialStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more