pub struct AuthPolicyLayer { /* private fields */ }Expand description
Implementations§
Source§impl AuthPolicyLayer
impl AuthPolicyLayer
pub fn new( validator: Arc<dyn TokenValidator>, authorizer: Arc<dyn PrimaryAuthorizer>, policy: Arc<dyn RoutePolicy>, ) -> Self
Trait Implementations§
Source§impl Clone for AuthPolicyLayer
impl Clone for AuthPolicyLayer
Source§fn clone(&self) -> AuthPolicyLayer
fn clone(&self) -> AuthPolicyLayer
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 moreAuto Trait Implementations§
impl Freeze for AuthPolicyLayer
impl !RefUnwindSafe for AuthPolicyLayer
impl Send for AuthPolicyLayer
impl Sync for AuthPolicyLayer
impl Unpin for AuthPolicyLayer
impl !UnwindSafe for AuthPolicyLayer
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