Trait dbc::types::Container [−][src]
pub trait Container: Sized {
type Supplement;
type Host;
fn reconstruct(
proof: &Proof,
supplement: &Self::Supplement,
host: &Self::Host
) -> Result<Self, Error>;
fn deconstruct(self) -> (Proof, Self::Supplement);
fn to_proof(&self) -> Proof;
fn into_proof(self) -> Proof;
}