pub struct AllowAllGate;Expand description
Permissive gate — every request is allowed with no obligations.
This is the runtime default. Replace it in RuntimeConfig.gate for any
deployment that needs real authorization.
Trait Implementations§
Source§impl Clone for AllowAllGate
impl Clone for AllowAllGate
Source§fn clone(&self) -> AllowAllGate
fn clone(&self) -> AllowAllGate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllowAllGate
impl Debug for AllowAllGate
Source§impl Default for AllowAllGate
impl Default for AllowAllGate
Source§fn default() -> AllowAllGate
fn default() -> AllowAllGate
Returns the “default value” for a type. Read more
Source§impl Gate for AllowAllGate
impl Gate for AllowAllGate
Auto Trait Implementations§
impl Freeze for AllowAllGate
impl RefUnwindSafe for AllowAllGate
impl Send for AllowAllGate
impl Sync for AllowAllGate
impl Unpin for AllowAllGate
impl UnsafeUnpin for AllowAllGate
impl UnwindSafe for AllowAllGate
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