pub trait RoleBindingExt: ResourceBuilder {
// Required methods
fn new<T>(name: impl ToString, role: &T) -> Self
where T: IsRole;
fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> Self;
}
Required Methods§
fn new<T>(name: impl ToString, role: &T) -> Selfwhere
T: IsRole,
fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> 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.