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