mz_catalog::durable::transaction

Trait UniqueName

Source
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§

Source

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§

Source

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.

Implementations on Foreign Types§

Source§

impl UniqueName for ()

Implementors§

Source§

impl UniqueName for ClusterIntrospectionSourceIndexValue

Source§

impl UniqueName for ClusterReplicaValue

Source§

impl UniqueName for ClusterValue

Source§

impl UniqueName for CommentValue

Source§

impl UniqueName for ConfigValue

Source§

impl UniqueName for DatabaseValue

Source§

impl UniqueName for DefaultPrivilegesValue

Source§

impl UniqueName for GidMappingValue

Source§

impl UniqueName for IdAllocValue

Source§

impl UniqueName for ItemValue

Source§

impl UniqueName for NetworkPolicyValue

Source§

impl UniqueName for RoleValue

Source§

impl UniqueName for SchemaValue

Source§

impl UniqueName for ServerConfigurationValue

Source§

impl UniqueName for SettingValue

Source§

impl UniqueName for SourceReferencesValue

Source§

impl UniqueName for StorageCollectionMetadataValue

Source§

impl UniqueName for SystemPrivilegesValue

Source§

impl UniqueName for TxnWalShardValue