Nameable

Trait Nameable 

Source
pub trait Nameable {
    // Required method
    fn name() -> &'static str;
}
Expand description

A Model that can be named

Required Methods§

Source

fn name() -> &'static str

The name of the model (for example “cgroup” or “system”)

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.

Implementors§