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§
Sourcefn into_reason<R: RuntimeReason>(self) -> Reason<R, Self>
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".