Skip to main content

NeoContractEntry

Trait NeoContractEntry 

Source
pub trait NeoContractEntry {
    // Required methods
    fn deploy() -> Result<(), NeoError>;
    fn update() -> Result<(), NeoError>;
    fn destroy() -> Result<(), NeoError>;
}
Expand description

Neo N3 Contract Entry Point

Required Methods§

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.

Implementors§