trait UniqueName {
const HAS_UNIQUE_NAME: bool;
// Required method
fn unique_name(&self) -> &str;
}
Expand description
Utility trait to check for plan validity.
Required Associated Constants§
Sourceconst HAS_UNIQUE_NAME: bool
const HAS_UNIQUE_NAME: bool
Does the item have a unique name? If yes, we can check for name equality in validity checking.
Required Methods§
Sourcefn unique_name(&self) -> &str
fn unique_name(&self) -> &str
The unique name, only returns a meaningful name if Self::HAS_UNIQUE_NAME
is true
.
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.