Struct ssi_verification_methods::protocol::WithProtocol
source · pub struct WithProtocol<A, P>(pub A, pub P);Tuple Fields§
§0: A§1: PImplementations§
source§impl<A, P> WithProtocol<A, P>
impl<A, P> WithProtocol<A, P>
pub fn new(algorithm: A, protocol: P) -> WithProtocol<A, P>
Trait Implementations§
source§impl<A, P> Clone for WithProtocol<A, P>
impl<A, P> Clone for WithProtocol<A, P>
source§fn clone(&self) -> WithProtocol<A, P>
fn clone(&self) -> WithProtocol<A, P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<A, P> Debug for WithProtocol<A, P>
impl<A, P> Debug for WithProtocol<A, P>
source§impl<A, P> Hash for WithProtocol<A, P>
impl<A, P> Hash for WithProtocol<A, P>
source§impl<A, P, S> MessageSigner<WithProtocol<A, P>> for LocalMessageSigner<S>
impl<A, P, S> MessageSigner<WithProtocol<A, P>> for LocalMessageSigner<S>
async fn sign( self, __arg1: WithProtocol<<A as SignatureAlgorithmType>::Instance, P>, message: &[u8], ) -> Result<Vec<u8>, MessageSignatureError>
async fn sign_multi( self, __arg1: WithProtocol<<A as SignatureAlgorithmType>::Instance, P>, messages: &[Vec<u8>], ) -> Result<Vec<u8>, MessageSignatureError>
source§impl<A, P> Ord for WithProtocol<A, P>
impl<A, P> Ord for WithProtocol<A, P>
source§fn cmp(&self, other: &WithProtocol<A, P>) -> Ordering
fn cmp(&self, other: &WithProtocol<A, P>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<A, P> PartialEq for WithProtocol<A, P>
impl<A, P> PartialEq for WithProtocol<A, P>
source§impl<A, P> PartialOrd for WithProtocol<A, P>where
A: PartialOrd,
P: PartialOrd,
impl<A, P> PartialOrd for WithProtocol<A, P>where
A: PartialOrd,
P: PartialOrd,
source§impl<I, P> SignatureAlgorithmInstance for WithProtocol<I, P>where
I: SignatureAlgorithmInstance,
P: Copy,
impl<I, P> SignatureAlgorithmInstance for WithProtocol<I, P>where
I: SignatureAlgorithmInstance,
P: Copy,
type Algorithm = WithProtocol<<I as SignatureAlgorithmInstance>::Algorithm, P>
fn algorithm( &self, ) -> <WithProtocol<I, P> as SignatureAlgorithmInstance>::Algorithm
source§impl<A, P> SignatureAlgorithmType for WithProtocol<A, P>where
A: SignatureAlgorithmType,
P: Copy,
impl<A, P> SignatureAlgorithmType for WithProtocol<A, P>where
A: SignatureAlgorithmType,
P: Copy,
type Instance = WithProtocol<<A as SignatureAlgorithmType>::Instance, P>
impl<A, P> Copy for WithProtocol<A, P>
impl<A, P> Eq for WithProtocol<A, P>
impl<A, P> StructuralPartialEq for WithProtocol<A, P>
Auto Trait Implementations§
impl<A, P> Freeze for WithProtocol<A, P>
impl<A, P> RefUnwindSafe for WithProtocol<A, P>where
A: RefUnwindSafe,
P: RefUnwindSafe,
impl<A, P> Send for WithProtocol<A, P>
impl<A, P> Sync for WithProtocol<A, P>
impl<A, P> Unpin for WithProtocol<A, P>
impl<A, P> UnwindSafe for WithProtocol<A, P>where
A: UnwindSafe,
P: UnwindSafe,
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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.