Skip to main content

NamespaceScope

Trait NamespaceScope 

Source
pub trait NamespaceScope: ResourceScope { }
Expand description

Marks the ResourceScopes that a namespace can be named in

Implemented for NamespaceResourceScope and DynamicResourceScope, the two scopes whose url can carry a namespaces/<ns>/ segment. ClusterResourceScope is deliberately absent, so that operations taking a namespace can be offered on exactly the types they make sense for.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§