pub struct AcpTypeDidAdapter;Expand description
ACP TypeDID content adapter.
Trait Implementations§
Source§impl Clone for AcpTypeDidAdapter
impl Clone for AcpTypeDidAdapter
Source§fn clone(&self) -> AcpTypeDidAdapter
fn clone(&self) -> AcpTypeDidAdapter
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 AcpTypeDidAdapter
Source§impl Debug for AcpTypeDidAdapter
impl Debug for AcpTypeDidAdapter
Source§impl Default for AcpTypeDidAdapter
impl Default for AcpTypeDidAdapter
Source§fn default() -> AcpTypeDidAdapter
fn default() -> AcpTypeDidAdapter
Returns the “default value” for a type. Read more
Source§impl SecureEnvelopeAdapter for AcpTypeDidAdapter
impl SecureEnvelopeAdapter for AcpTypeDidAdapter
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 AcpTypeDidAdapter
impl RefUnwindSafe for AcpTypeDidAdapter
impl Send for AcpTypeDidAdapter
impl Sync for AcpTypeDidAdapter
impl Unpin for AcpTypeDidAdapter
impl UnsafeUnpin for AcpTypeDidAdapter
impl UnwindSafe for AcpTypeDidAdapter
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