Trait ssi_claims::AttachProof

source ·
pub trait AttachProof<T> {
    type Attached;

    // Required method
    fn attach_to(self, claims: T) -> Self::Attached;
}
Expand description

Proof bundling trait.

Provides a method to bundle the set of claims with a proof.

Required Associated Types§

source

type Attached

Set of claims with a proof.

Required Methods§

source

fn attach_to(self, claims: T) -> Self::Attached

Bundles the given claims with this proof.

Implementations on Foreign Types§

source§

impl<T, S> AttachProof<T> for Proof<S>

source§

type Attached = DataIntegrity<T, S>

source§

fn attach_to(self, claims: T) -> <Proof<S> as AttachProof<T>>::Attached

source§

impl<T, S> AttachProof<T> for Proofs<S>

source§

type Attached = DataIntegrity<T, S>

source§

fn attach_to(self, claims: T) -> <Proofs<S> as AttachProof<T>>::Attached

Implementors§