1 2 3 4 5 6 7 8 9 10 11 12
pub trait Commitment { fn processed(&self) -> Self; fn confirmed(&self) -> Self; fn finalized(&self) -> Self; fn into(commitment_str: &str) -> Self; /// Get the commitment as a [str] format fn as_str(&self) -> &str; }