Skip to main content

ApplicationCode

Trait ApplicationCode 

Source
pub trait ApplicationCode {
    // Required methods
    fn code(&self) -> i32;
    fn message(&self) -> SharedString;
}
Expand description

An interface for application code.

Required Methods§

Source

fn code(&self) -> i32

An integer code for the application.

Source

fn message(&self) -> SharedString

A descriptive message.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§