pub struct A2aTypeDidAdapter;Expand description
A2A TypeDID content adapter.
Trait Implementations§
Source§impl Clone for A2aTypeDidAdapter
impl Clone for A2aTypeDidAdapter
Source§fn clone(&self) -> A2aTypeDidAdapter
fn clone(&self) -> A2aTypeDidAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for A2aTypeDidAdapter
Source§impl Debug for A2aTypeDidAdapter
impl Debug for A2aTypeDidAdapter
Source§impl Default for A2aTypeDidAdapter
impl Default for A2aTypeDidAdapter
Source§fn default() -> A2aTypeDidAdapter
fn default() -> A2aTypeDidAdapter
Returns the “default value” for a type. Read more
Source§impl SecureEnvelopeAdapter for A2aTypeDidAdapter
impl SecureEnvelopeAdapter for A2aTypeDidAdapter
Source§fn content_type(&self) -> &'static str
fn content_type(&self) -> &'static str
Media type this adapter carries over its outer protocol.
Source§fn wrap(
&self,
request: TypeDidWrapRequest<'_>,
resolver: &dyn DidResolver,
key_store: &dyn DidKeyStore,
) -> Result<DidEnvelope, DidError>
fn wrap( &self, request: TypeDidWrapRequest<'_>, resolver: &dyn DidResolver, key_store: &dyn DidKeyStore, ) -> Result<DidEnvelope, DidError>
Wrap a payload in a TypeDID envelope for this adapter’s protocol.
Auto Trait Implementations§
impl Freeze for A2aTypeDidAdapter
impl RefUnwindSafe for A2aTypeDidAdapter
impl Send for A2aTypeDidAdapter
impl Sync for A2aTypeDidAdapter
impl Unpin for A2aTypeDidAdapter
impl UnsafeUnpin for A2aTypeDidAdapter
impl UnwindSafe for A2aTypeDidAdapter
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