pub struct AuthorizationLayer<C>{ /* private fields */ }
Implementations§
Source§impl<C> AuthorizationLayer<C>
impl<C> AuthorizationLayer<C>
pub fn new(auths: Vec<Arc<Authorizer<C>>>) -> AuthorizationLayer<C>
Trait Implementations§
Source§impl<C> Clone for AuthorizationLayer<C>
impl<C> Clone for AuthorizationLayer<C>
Source§fn clone(&self) -> AuthorizationLayer<C>
fn clone(&self) -> AuthorizationLayer<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<S, C> Layer<S> for AuthorizationLayer<C>
impl<S, C> Layer<S> for AuthorizationLayer<C>
Auto Trait Implementations§
impl<C> Freeze for AuthorizationLayer<C>
impl<C> !RefUnwindSafe for AuthorizationLayer<C>
impl<C> Send for AuthorizationLayer<C>
impl<C> Sync for AuthorizationLayer<C>
impl<C> Unpin for AuthorizationLayer<C>
impl<C> !UnwindSafe for AuthorizationLayer<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more