Skip to main content

CallableContract

Trait CallableContract 

Source
pub trait CallableContract: Send + Sync {
    // Required method
    fn call(&self, fn_name: &str) -> bool;
}
Expand description

CallableContract is the means by which the debugger calls methods in the contract.

Required Methods§

Source

fn call(&self, fn_name: &str) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§