pub trait NeoContract {
// Required methods
fn name() -> &'static str;
fn version() -> &'static str;
fn author() -> &'static str;
fn description() -> &'static str;
}Expand description
Neo N3 Contract trait
Required Methods§
fn name() -> &'static str
fn version() -> &'static str
fn description() -> &'static str
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.