pub trait Compound {
// Required method
fn substmts_def() -> Vec<SubStmtDef>;
// Provided method
fn keywords() -> Vec<Keyword> ⓘ { ... }
}Expand description
Trait for compound YANG statements.
Required Methods§
Sourcefn substmts_def() -> Vec<SubStmtDef>
fn substmts_def() -> Vec<SubStmtDef>
Return substatements definition.
Provided Methods§
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.