Trait RoleBindingExt

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

Source

fn new<T>(name: impl ToString, role: &T) -> Self
where T: IsRole,

Source

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.

Implementors§