Trait RoleExt

Source
pub trait RoleExt: ResourceBuilder {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self;

    // Provided method
    fn rule(self, rule: PolicyRule) -> Self { ... }
}

Required Methods§

Source

fn new(name: impl ToString) -> Self

Source

fn rules(self, rules: impl IntoIterator<Item = PolicyRule>) -> Self

Provided Methods§

Source

fn rule(self, rule: 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.

Implementors§