pub trait CommitEncode {
type CommitmentId: CommitmentId;
// Required method
fn commit_encode(&self, e: &mut CommitEngine);
}
Required Associated Types§
Sourcetype CommitmentId: CommitmentId
type CommitmentId: CommitmentId
Type of the resulting commitment.
Required Methods§
Sourcefn commit_encode(&self, e: &mut CommitEngine)
fn commit_encode(&self, e: &mut CommitEngine)
Encodes the data for the commitment by writing them directly into a
std::io::Write
writer instance