pub trait ClusterRoleExt: ResourceBuilder {
// Required methods
fn new(name: impl ToString) -> Self;
fn aggregation_rule(
self,
selectors: impl IntoIterator<Item = LabelSelector>,
) -> Self;
fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self;
}
Required Methods§
fn new(name: impl ToString) -> Self
fn aggregation_rule( self, selectors: impl IntoIterator<Item = LabelSelector>, ) -> Self
fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self
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.