pub trait Commitment {
// Required methods
fn processed(&self) -> Self;
fn confirmed(&self) -> Self;
fn finalized(&self) -> Self;
fn into(&self, commitment_str: &str) -> Self;
fn as_str(&self) -> &str;
}Required Methods§
fn processed(&self) -> Self
fn confirmed(&self) -> Self
fn finalized(&self) -> Self
fn into(&self, commitment_str: &str) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.