pub struct SuppressAuth;Expand description
抑制 Authorization 注入的标记(换取 token 的引导端点专用)。
默认所有端点「有 token 就携带、无 token 则忽略」;仅鉴权引导等换取 token 的接口挂此标记,保证引导请求绝不携带失效 token,避免 853004 刷新自死锁。
Trait Implementations§
Source§impl Clone for SuppressAuth
impl Clone for SuppressAuth
Source§fn clone(&self) -> SuppressAuth
fn clone(&self) -> SuppressAuth
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 moreimpl Copy for SuppressAuth
Source§impl Debug for SuppressAuth
impl Debug for SuppressAuth
Source§impl Default for SuppressAuth
impl Default for SuppressAuth
Source§fn default() -> SuppressAuth
fn default() -> SuppressAuth
Returns the “default value” for a type. Read more
impl Eq for SuppressAuth
Source§impl PartialEq for SuppressAuth
impl PartialEq for SuppressAuth
impl StructuralPartialEq for SuppressAuth
Auto Trait Implementations§
impl Freeze for SuppressAuth
impl RefUnwindSafe for SuppressAuth
impl Send for SuppressAuth
impl Sync for SuppressAuth
impl Unpin for SuppressAuth
impl UnsafeUnpin for SuppressAuth
impl UnwindSafe for SuppressAuth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EndpointExt for T
impl<T> EndpointExt for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.