pub trait OptionContractExt: Sized {
// Required methods
fn child_proof(&self) -> Result<Proof>;
fn child(&self, p2_puzzle_hash: Bytes32) -> Result<Self>;
fn child_with(&self, info: OptionInfo) -> Result<Self>;
}Required Methods§
fn child_proof(&self) -> Result<Proof>
fn child(&self, p2_puzzle_hash: Bytes32) -> Result<Self>
fn child_with(&self, info: OptionInfo) -> Result<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.