Trait red4ext_rs::PluginOps

source ·
pub trait PluginOps: Plugin + Sealed {
    // Required method
    fn env() -> &'static SdkEnv;
}
Expand description

A set of useful operations that can be performed on a plugin.

Required Methods§

source

fn env() -> &'static SdkEnv

Retrieves a statically initialized reference to the plugin environment. It can be used to log messages, add state listeners, and attach hooks.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> PluginOps for P
where P: Plugin,