Skip to main content

SystemReason

Trait SystemReason 

Source
pub trait SystemReason: Sized {
    // Provided method
    fn into_reason<R: RuntimeReason>(self) -> Reason<R, Self> { ... }
}
Expand description

Behavior of types, which represent system reasons for some chain actions.

Provided Methods§

Source

fn into_reason<R: RuntimeReason>(self) -> Reason<R, Self>

Converter into composite reason type: not only system, but runtime also.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SystemReason for ()

Implementors§