Skip to main content

TypeLevelCallingMode

Trait TypeLevelCallingMode 

Source
pub trait TypeLevelCallingMode {
    const VALUE: CallingMode;
}
Expand description

Calling mode for the FarCall opcodes.

Required Associated Constants§

Source

const VALUE: CallingMode

Constant corresponding to this mode allowing to easily match it.

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§

Source§

impl TypeLevelCallingMode for Delegate

Source§

const VALUE: CallingMode = CallingMode::Delegate

Source§

impl TypeLevelCallingMode for Mimic

Source§

const VALUE: CallingMode = CallingMode::Mimic

Source§

impl TypeLevelCallingMode for Normal

Source§

const VALUE: CallingMode = CallingMode::Normal