pub struct MemoryIdentityStore { /* private fields */ }Trait Implementations§
Source§impl Default for MemoryIdentityStore
impl Default for MemoryIdentityStore
Source§fn default() -> MemoryIdentityStore
fn default() -> MemoryIdentityStore
Returns the “default value” for a type. Read more
Source§impl IdentityStore for MemoryIdentityStore
impl IdentityStore for MemoryIdentityStore
fn find<'life0, 'life1, 'async_trait>(
&'life0 self,
service_did: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AgentIdentity>, AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
identity: AgentIdentity,
) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryIdentityStore
impl RefUnwindSafe for MemoryIdentityStore
impl Send for MemoryIdentityStore
impl Sync for MemoryIdentityStore
impl Unpin for MemoryIdentityStore
impl UnsafeUnpin for MemoryIdentityStore
impl UnwindSafe for MemoryIdentityStore
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