Skip to main content

Rule

Trait Rule 

Source
pub trait Rule:
    Sized
    + Send
    + Sync
    + 'static {
    // Required method
    fn start(rtstate: &mut RtState) -> Result<Self, RuleError>;
}

Required Methods§

Source

fn start(rtstate: &mut RtState) -> Result<Self, RuleError>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§