pub struct AllowAll;Expand description
Allow every request as PeerOrigin::Management — for loopback dev / tests
only. NOT for a real listener (it makes the transport the trust boundary,
exactly the posture the pivot removes).
Trait Implementations§
Source§impl HttpAuth for AllowAll
impl HttpAuth for AllowAll
fn authenticate(&self, _parts: &RequestParts<'_>) -> Option<PeerOrigin>
Auto Trait Implementations§
impl Freeze for AllowAll
impl RefUnwindSafe for AllowAll
impl Send for AllowAll
impl Sync for AllowAll
impl Unpin for AllowAll
impl UnsafeUnpin for AllowAll
impl UnwindSafe for AllowAll
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